Community
Participate
Working Groups
The jaxb2-maven-plugin generates java sources based on an XSD. In an Eclipse project, the M2E Maven integration should ensure that these generated sources: * are added to the classpath, as well as, * be exposed as a source folder. Note that this bug is quite similar to (but not a duplicate of) bug 350299, which relates to a different plugin that offers similar functionality. As neither plugins are currently supported by the M2E integration, users are severely limited in using JAXB-based functionality.
Created attachment 198607 [details] Stand-alone example project to illustrate request
m2e core development team is looking for help implementing support for various "not covered" maven plugins. If you are interested, wiki [1] provides pointers where to start and we'll be happy to answer questions on m2e-dev mailing list. To avoid duplicate effort, please assign this bugzilla item to yourself if you already work on corresponding m2e extension. [1] m2e extension development is documented in http://wiki.eclipse.org/M2E_Extension_Development
I will support codehaus jaxb2 plugin in my m2e-jaxb2-connector. Next milestone (push) very soon! https://github.com/bitstrings/m2e-jaxb2-connector
Milestone release for jaxb2, now support: <pluginExecutionFilter> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId> <versionRange>[1.2,)</versionRange> <goals> <goal>xjc</goal> <goal>testXjc</goal> </goals> </pluginExecutionFilter> Name: m2e-jaxb2-connector Version: 1.0.3 Available P2: http://bitstrings.github.com/m2e-connectors-p2/milestones
v1.5 of Mojo's JAXB Maven plugin is compatible with m2e and doesn't require a separate connector. Please see http://mojo.codehaus.org/jaxb2-maven-plugin/. This ticket can be closed I think.
thanks for the info
Moved to https://github.com/eclipse-m2e/m2e-core/issues/