javaee / metro-jaxws-commons

Metro has been contributed to Eclipse Foundation. This repository is for legacy review only. Please refer to the Eclipse EE4J Metro project for the very latest
https://eclipse-ee4j.github.io/metro-wsit/
Other
10 stars 9 forks source link

Impossible to generate test sources, wsimport always attaches a regular source root #38

Closed glassfishrobot closed 13 years ago

glassfishrobot commented 15 years ago

Even if I attach jaxws-maven-plugin execution to test-generate-sources, it still adds a regular compile source root for the generated files.

This is because addCompileSourceRoot() is always invoked in WsImportMojo.execute(), there is no way to disable it or make it invoke addTestCompileSourceRoot() instead.

Also the Eclipse plugin only invokes generates-sources and not test-generate-sources, so I want to be able to generate my test classes in the normal generate-sources phase but still attach them to the test compile root.

So, there should be a configuration option to be able to specify which compile root I want to add, if any, for example like this:

false true

Environment

Operating System: All Platform: All

Affected Versions

[current]

glassfishrobot commented 15 years ago

Reported by rustamabd@java.net

glassfishrobot commented 13 years ago

@lukasj said: http://java.net/projects/jax-ws-commons/sources/svn/revision/909

glassfishrobot commented 11 years ago

@lukasj said: closing old and already fixed issues

glassfishrobot commented 13 years ago

File: jax_ws_commons-38-56.diff.txt Attached By: @lukasj

glassfishrobot commented 15 years ago

Issue-Links: is related to JAX_WS_COMMONS-56

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAX_WS_COMMONS-38

glassfishrobot commented 13 years ago

Marked as fixed on Thursday, October 13th 2011, 8:37:02 am