Could someone please post an example maven pom fragment that will help me get started with the CXF java2ws maven plugin?
In the absence of documentation I have tried many variations of the
fragment below without success.
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-java2ws-plugin</artifactId>
<version>2.1-incubator-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>2.1-incubator-SNAPSHOT</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>generate-ws</id>
<phase>process-classes</phase>
<configuration>
<className>
my.ws.target.class
</className>
<classpathElements>
${project.compileClasspathElements}
</classpathElements>
<classpath>
${basedir}/target/classes
</classpath>
<genServer>true</genServer>
<genClient>true</genClient>
<genWrapperbean>true</genWrapperbean>
<genWsdl>true</genWsdl>
<project>${project}</project>
</configuration>
<goals>
<goal>java2ws</goal>
</goals>
</execution>
</executions>
</plugin>
Regards,
Callum.
