Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347521 - [mojo] com.sun.tools.xjc.maven2:maven-jaxb-plugin:generate support
Summary: [mojo] com.sun.tools.xjc.maven2:maven-jaxb-plugin:generate support
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-27 16:59 EDT by Jochen Wiedmann CLA
Modified: 2021-04-19 13:24 EDT (History)
6 users (show)

See Also:


Attachments
Small demo project (3.08 KB, application/zip)
2011-05-29 16:22 EDT, Jochen Wiedmann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Wiedmann CLA 2011-05-27 16:59:35 EDT
Build Identifier: 

Add the maven-jaxb-plugin to the lifecyclemappings, as defined by http://wiki.eclipse.org/M2E_plugin_execution_not_covered

Reproducible: Always
Comment 1 Igor Fedorenko CLA 2011-05-27 17:26:25 EDT
Please provide standalone example project and detailed description of desired behaviour when the project is imported in Eclipse workspace. 

Don't assume m2e developers know anything about maven-jaxb-plugin ;-)
Comment 2 Jochen Wiedmann CLA 2011-05-29 16:22:54 EDT
Created attachment 196860 [details]
Small demo project

Here's the requested demo project. Note, that you might need to add the Sun Maven repository to your settings (see http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html) to build it.

Btw, I'd be interested to contribute the necessary changes, if you'd be ready to guide me. Fact is, that I'd need to have a lot of similar plugins added afterwards before pushing my colleagues to Indigo and m2e 0.13.
Comment 3 Jochen Wiedmann CLA 2011-05-29 16:23:51 EDT
Forgot the desired behaviour: The plugin generates Java sources. As a consequence, it is absolutely required for the build and the behaviour should be "execute".
Comment 4 Michael Glauche CLA 2011-06-21 07:53:02 EDT
There's a another jaxb plugin as well: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin, see http://stackoverflow.com/questions/2432859/difference-of-maven-jaxb-plugins

Should i file a seperate bug-report for that plugin, or try to migrate my projects to the com.sun one ?
Comment 5 Jochen Wiedmann CLA 2011-06-21 13:36:37 EDT
I suggest you wait, Michael. As the plugins are doing basically the same things, it might be that we can handle them all together.
Comment 6 Igor Fedorenko CLA 2011-06-24 02:01:24 EDT
If anyone is interested to develop support for maven-jaxb-plugin, relevant information is available here http://wiki.eclipse.org/M2E_Extension_Development . We'll be happy to answer questions on m2e-dev mailing list too.
Comment 7 Igor Fedorenko CLA 2011-06-29 02:13:11 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 8 Igor Fedorenko CLA 2013-09-28 23:35:22 EDT
closing old/stale bugreports
Comment 9 Denis Roy CLA 2021-04-19 13:24:15 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/