I wonder also why the explicitly setting of the JAXB version does not seem to work for you. The plugin is configured via:
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId> <executions> <execution> <goals> <goal>xjc</goal> </goals> </execution> </executions> <configuration> <packageName>org.hibernate.validator.internal.xml</packageName> <extension>true</extension> <schemaFiles>validation-configuration-1.1.xsd,validation-mapping-1.1.xsd</schemaFiles> </configuration> <dependencies> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.2.5</version> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> <version>2.1.13</version> </dependency> </dependencies> </plugin>
I wonder also why the explicitly setting of the JAXB version does not seem to work for you. The plugin is configured via:
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId> <executions> <execution> <goals> <goal>xjc</goal> </goals> </execution> </executions> <configuration> <packageName>org.hibernate.validator.internal.xml</packageName> <extension>true</extension> <schemaFiles>validation-configuration-1.1.xsd,validation-mapping-1.1.xsd</schemaFiles> </configuration> <dependencies> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.2.5</version> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> <version>2.1.13</version> </dependency> </dependencies> </plugin>