I have figured it out. In the pom.xml:
<project ..>
...
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<configuration>
<tasks>
<exec executable="wsgen">
<arg value="-classpath"/>
<arg value="${project.build.directory
}/classes"/>
<arg value="-d"/>
<arg value="${project.build.directory
}/classes"/>
<arg value="
com.spikesource.logging.WSService"/>
</exec>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
...
Basically I am using antrun plugin to call wsgen JDK tool.
Subhash.
On 4/4/07, Subhash Chandran <[EMAIL PROTECTED]> wrote:
Hi,
I am using Maven 2.0.5, and trying to build a WS annotated class which is
similar to the example here:
http://weblogs.java.net/blog/vivekp/archive/2006/12/webservices_in.html
The automatically generated proxy classes are not getting generated when
building using Maven, when direct javac is used, they get generated. I have
set the source and target to 1.6 in maven-compiler-plugin configuration.
--
Regards,
Subhash Chandran S
http://wizcrypt.wiztools.org/
--
Regards,
Subhash Chandran S
http://wizcrypt.wiztools.org/