Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349939 - [mojo] org.codehaus.mojo:jaxws-maven-plugin support
Summary: [mojo] org.codehaus.mojo:jaxws-maven-plugin support
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 08:32 EDT by Michael Glauche CLA
Modified: 2021-04-19 13:24 EDT (History)
11 users (show)

See Also:


Attachments
small jaxws sample project (2.71 KB, application/zip)
2011-06-21 08:32 EDT, Michael Glauche CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Glauche CLA 2011-06-21 08:32:48 EDT
Created attachment 198329 [details]
small jaxws sample project

Hi,
  the jaxws-maven-plugin does not work with m2eclipse 1.0.0 anymore. The plugin reads one ore more WSDL Files from local directory (src/wsdl/*.wsdl) or remote locations (via URL) and generates the webservice client files. In order to use them the target directory needs to be added as a source directory in eclipse.

The updating seems a bit tricky, the plugin itself has a stale file, the best way would be only to run the plugin on the generate-sources task.

Attached is a small test project with a sample wsdl. The java sources are by default generated to target/jaxws/wsimport
Comment 1 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 2 Vladimir Nicolici CLA 2011-07-08 05:19:59 EDT
Hmm, it seems for some reason I'm not able to vote for this bug. Anyway, I have a question, is this error message related to this bug:

Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:jaxws-maven-plugin:1.12:wsimport

?
Comment 3 Igor Fedorenko CLA 2011-07-08 07:33:26 EDT
Yes, the error message is related to this enhancement request, see http://wiki.eclipse.org/M2E_plugin_execution_not_covered for more details.
Comment 4 Asaf Mesika CLA 2011-08-17 01:09:21 EDT
How do you place a vote here?
Comment 5 Igor Fedorenko CLA 2011-08-18 00:28:57 EDT
(In reply to comment #4)
> How do you place a vote here?

voting is not enabled for m2e. if you feel strongly enough about a bug, please submit a quality patch with adequate test coverage and m2e development usually gives patches priority over other work. otherwise you just have to wait for somebody else to do the work.

in this particular case, "providing a quality patch" means developing a project configurator and making it available for installation from m2e discovery catalog. although we encourage EPL-ed configurators, we accept catalog entries that use other opensource or commercial licenses.
Comment 6 Aliaksei Lahachou CLA 2011-08-18 11:19:27 EDT
Hello World!

We created connector for jaxws-maven-plugin and we want to donate it to community. It supports wsimport goal (everything that we needed). You can grab the sources here: https://github.com/htfv/m2e-extras.

We don't want to maintain or support or take any responsibility for this code. It would be great if someone takes this code and makes a proper release. We hope it helps.
Comment 7 Robert Munteanu CLA 2011-08-18 14:11:37 EDT
(In reply to comment #6)
> Hello World!
> 
> We created connector for jaxws-maven-plugin and we want to donate it to
> community. It supports wsimport goal (everything that we needed). You can grab
> the sources here: https://github.com/htfv/m2e-extras.
> 
> We don't want to maintain or support or take any responsibility for this code.
> It would be great if someone takes this code and makes a proper release. We hope
> it helps.

Hello back.

I might be able to invest some time in testing/polishing if needed. It would be good though if you would clearly state the license of the code ( EPL would be preferred I think ).
Comment 8 Aliaksei Lahachou CLA 2011-08-25 06:35:36 EDT
> Hello back.
> 
> I might be able to invest some time in testing/polishing if needed. It would be
> good though if you would clearly state the license of the code ( EPL would be
> preferred I think ).

I put the source under the EPL license.
Comment 9 Jeroen Benckhuijsen CLA 2012-01-23 04:46:19 EST
Same issue is also present for org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.1:wsimport which is the successor of the codehaus project. Is this also taken into account to solve this bug.

Also, the last comment is from august last year, any progress on this issue?
Comment 10 Sebastian Davids CLA 2013-04-05 21:11:59 EDT
Any progress?
Comment 11 Archimedes Trajano CLA 2013-11-02 23:04:28 EDT
Does this require a blocker against the license jaxws-maven-plugin?  I thought the M2E plug-ins even if they use non-EPL plugins as long as the plug-in itself is EPL and passes IP checks should be sufficient.

I've seen other efforts https://code.google.com/p/jaxws-maven-connector/ (which I forked to https://github.com/trajano/jaxws-maven-connector to make it work with the current versions of Eclipse and Rational Application Developer)
Comment 12 Eclipse Genie CLA 2014-12-07 12:03:46 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 13 Archimedes Trajano CLA 2014-12-07 12:20:51 EST
I have forked the jaxws-maven-plugin to provide m2e support along with support for Maven 3.0-3.2

http://site.trajano.net/jaxws-maven-plugin/
Comment 14 Sebastian Davids CLA 2014-12-08 08:28:00 EST
This bug is still relevant, please reopen.
Comment 15 Igor Fedorenko CLA 2014-12-08 09:09:09 EST
@Sebastian are you aware of any immediate plans to work on this? I see little point in keeping this open given that nobody did anything about jaxws-maven-plugin in 3+ years. Besides, most likely jaxws-maven-plugin/m2e support can be implemented purely in jaxws-maven-plugin, without any eclipse or m2e specific code.
Comment 16 Archimedes Trajano CLA 2014-12-08 12:33:38 EST
It can be done, but the code changes have not been merged into the official version, right now it's just on my fork.  So this defect I think should remain closed and a defect be open and followed up on jaxws-maven-plugin itself.
Comment 17 Denis Roy CLA 2021-04-19 13:24:09 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/