|
||||||||
|
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 |
||||||||
- [mojo-dev] [jira] (MJAXB-37) Getters not being gener... Robert Scholte (JIRA)
- [mojo-dev] [jira] (MJAXB-37) Getters not being ... Stevo Slavic (JIRA)

This issue has been fixed in jaxb (see http://java.net/jira/browse/JAXB-131 ticket).
It's enough just to upgrade jaxb2-maven-plugin:1.3.1 dependency on com.sun.xml.bind:jaxb-xjc from 2.1.12 to 2.1.13 and then configure jaxb2-maven-plugin arguments parameter by appending -enableIntrospection option (see more details on xjc options at http://jaxb.java.net/nonav/2.1.13/docs/xjc.html )
Until plugin dependency gets upgraded, as a workaround one can override jaxb2-maven-plugin:1.3.1 dependency on com.sun.xml.bind:jaxb-xjc:2.1.12:jar with following snippet in pom file:
<build> ... <pluginManagement> <plugins> ... <plugin> <groupId>org.codehaus.mojo<groupId> <artifactId>jaxb2-maven-plugin<artifactId> <version>1.3.1</version> <dependencies> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-xjc</artifactId> <version>2.1.13</version> </dependency> </dependencies> </plugin> ... </plugins> </pluginManagement> ... </build>