Try this pom.xml. Plugin will be downloaded automatically when building.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.test</groupId>
<artifactId>hello</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>hello</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
<configuration>
<packageName>com.test.service</packageName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Ant tasks are also available.
http://ws.apache.org/axis2/tools/1_3/CodegenToolReference.html#ant
Upul
On Nov 16, 2007 4:31 PM, <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> I tried to find a suitable wsdl2java plugin for maven. The one linked in
> the tools section at the axis2 website is dead.
>
> Is there any new news about this plugin or a alternative? Or is an ant
> task the only option to automate the code generation in the build
> process?
>
> Thanks,
> Sietse
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]