Thanks Upul and David!

It works almost fine now! At least I get successful builds with maven
(some configuration needs to be done). I tried to use this plugin
already but somehow my groupId was incorrect.

David, the extra repository wasn't needed in my case since it is in the
default repo1.

Sietse 

-----Original Message-----
From: Upul Godage [mailto:[EMAIL PROTECTED] 
Sent: 16 November 2007 11:16
To: axis-user@ws.apache.org
Subject: Re: [axis2] maven plugin for wsdl2java

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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to