Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350376 - [mojo] org.codehaus.mojo:jaxb2-maven-plugin:xjc support
Summary: [mojo] org.codehaus.mojo:jaxb2-maven-plugin:xjc support
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-26 08:20 EDT by Guus der Kinderen CLA
Modified: 2021-04-19 13:25 EDT (History)
6 users (show)

See Also:


Attachments
Stand-alone example project to illustrate request (1.65 KB, application/x-gzip)
2011-06-26 08:30 EDT, Guus der Kinderen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guus der Kinderen CLA 2011-06-26 08:20:16 EDT
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.
Comment 1 Guus der Kinderen CLA 2011-06-26 08:30:24 EDT
Created attachment 198607 [details]
Stand-alone example project to illustrate request
Comment 2 Igor Fedorenko CLA 2011-06-29 02:13:14 EDT
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
Comment 3 Pino Silvaggio CLA 2011-07-25 02:49:38 EDT
I will support codehaus jaxb2 plugin in my m2e-jaxb2-connector.

Next milestone (push) very soon!

https://github.com/bitstrings/m2e-jaxb2-connector
Comment 4 Pino Silvaggio CLA 2011-07-26 03:07:42 EDT
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
Comment 5 Anders Hammar CLA 2013-08-28 08:59:53 EDT
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.
Comment 6 Igor Fedorenko CLA 2013-08-28 09:28:10 EDT
thanks for the info
Comment 7 Denis Roy CLA 2021-04-19 13:25:51 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/