I\'m using jaxws-maven-plugin to execute wsimport for a web service consumer app. I\'m using the -clientjar
option on wsimport which was introduced with JAX-WS
The documentation for this plugin is a joke. A workaround is to manually extract the contents from the client jar after it is created like follows:
org.jvnet.jax-ws-commons
jaxws-maven-plugin
2.3
wsimport
-clientjar
${project.build.directory}/wsimport-client.jar
https://webservice.com/service.wsdl
2.1
true
org.apache.maven.plugins
maven-antrun-plugin
1.7
process-resources
run
taken from here: https://gist.github.com/mpellegrini/5439304