org.hibernate.beanvalidation.tck.tests.xmlconfiguration.constraintdeclaration.clazzlevel.package-constraints-ClassLevelOverridingWithAnnotationTest.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Bean Validation TCK License: Apache License, Version 2.0 See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. --> <constraint-mappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/mapping validation-mapping-1.0.xsd" xmlns="http://jboss.org/xml/ns/javax/validation/mapping"> <default-package>org.hibernate.beanvalidation.tck.tests.xmlconfiguration.constraintdeclaration.clazzlevel</default-package> <bean class="Package"> <class ignore-annotations="false"> <constraint annotation="org.hibernate.beanvalidation.tck.tests.xmlconfiguration.constraintdeclaration.clazzlevel.ValidPackage"> <message>ValidPackage defined in XML</message> <groups> <value>org.hibernate.beanvalidation.tck.tests.xmlconfiguration.constraintdeclaration.clazzlevel.PrePosting </value> </groups> </constraint> </class> </bean> </constraint-mappings>