Java Reference
In-Depth Information
This task mirrors the command-line tool, so I won't explain it further except to mention that
the nested
classpath
element is a regular Ant path like any other. In order to use the
<wsgen>
task, you need to point to the implementing class in your Ant build script:
<taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
<classpath path="jaxws.classpath"/>
</taskdef>
Using wsgen in Maven 2
tp://mojo.codehaus.org/jaxws-maven-plugin/wsgen-mojo.html
.
It will automatically execute
during the
generate-sources
phase.