Hardy Ferentschik edited a comment on Bug HV-794

seem similar @ HV-528
revert https://github.com/hibernate/hibernate-validator/pull/79 ?
in fedora we have org.jvnet.jaxb2.maven2:maven-jaxb22-plugin
and with hibernate-validator 4.2.0.Final work fine
this is the patch i used in H-V 5.0.1.Final

--- engine/pom.xml	2013-04-30 21:42:51.000000000 +0200
+++ engine/pom.xml-gil	2013-05-09 19:00:37.104812401 +0200
@@ -140,19 +140,28 @@
         </testResources>
         <plugins>
             <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>jaxb2-maven-plugin</artifactId>
+                <groupId>org.jvnet.jaxb2.maven2</groupId>
+                <artifactId>maven-jaxb22-plugin</artifactId>
+                <version>0.8.1</version>
                 <executions>
                     <execution>
                         <goals>
-                            <goal>xjc</goal>
+                            <goal>generate</goal>
                         </goals>
                     </execution>
                 </executions>
                 <configuration>
-                    <packageName>org.hibernate.validator.internal.xml</packageName>
+                    <generatePackage>org.hibernate.validator.internal.xml</generatePackage>
+                    <generateDirectory>${basedir}/target/generated-sources</generateDirectory>
+                    <schemaDirectory>src/main/xsd</schemaDirectory>
+                    <bindingDirectory>src/main/xjb</bindingDirectory>
                     <extension>true</extension>
-                    <schemaFiles>validation-configuration-1.1.xsd,validation-mapping-1.1.xsd</schemaFiles>
+                    <schemaIncludes>
+                        <include>**/*-1.1.xsd</include>
+                    </schemaIncludes>
+                    <bindingIncludes>
+                        <include>**/*.xjb</include>
+                    </bindingIncludes>
                 </configuration>
                 <dependencies>
                     <dependency>
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira