You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "Rossmanith, Philipp" <ph...@t-systems.es> on 2007/07/06 16:23:28 UTC

Question about wsdl-first SUs - how to avoid stub generation

Hi,

I just installed the 3.1.1 release and am trying to get a WSDL-first SU
running by utilizing the Maven tooling.

In 3.1, you were using the XFire WsGenTask for the purpose. By setting
generate-server-stubs=false on the task definition, one could suppress
the generation of service implementation class files.

Now there seems to be an XFire Maven plugin in the
org.apache.servicemix.tooling group.

How can I configure this Maven plugin such that it doesn't generate the
server stubs?

I found some documentation about the plugin, but it doesn't describe
what I'm looking for:
http://mojo.codehaus.org/xfire-maven-plugin/wsgen-mojo.html

Thanks in advance,
Ciao,
Philipp

P.s. A workaround is setting the generation directory to src/main/java.

P.p.s. I also took a look at the WSDL first example, but couldn't figure
out how it was solved there. Also, it seems that the POM generated by
3.1.1 doesn't match the one in the example.

This e-mail may contain confidential or privileged information. Any unauthorised
copying, use or distribution of this information is strictly prohibited.