Issue Type: Bug Bug
Affects Versions: 1.4
Assignee: Unassigned
Components: wsdl2java
Created: 26/Jun/12 6:46 AM
Description:

I have two executions that should build the classes from two wsdls that have the same name (e.g. myapi.wsdl). The first execution runs normal. For the second I get

--- axistools-maven-plugin:1.4:wsdl2java (compass) @ sor-adapter ---
about to add compile source root
Nothing to generate. All WSDL files are up to date.

After changing the name of the wsdl (e.g. myapi1.wsdl and myapi2.wsdl) it works.

This is my configuration in the pom.xml:

<executions>
   <execution>
      <id>tap</id>
      <configuration>
         <allElements>true</allElements>
         <packageSpace>one.com.mycompany</packageSpace>
         <sourceDirectory>src/main/resources/wsdlone</sourceDirectory>
         <outputDirectory>${basedir}/target/generated/src/main/java</outputDirectory>
         <serverSide>true</serverSide>
      </configuration>
      <goals>
         <goal>wsdl2java</goal>
      </goals>
   </execution>
   <execution>
      <id>compass</id>
      <configuration>
         <allElements>true</allElements>
         <packageSpace>two.com.mycompany</packageSpace>
         <sourceDirectory>src/main/resources/wsdltwo</sourceDirectory>
         <outputDirectory>${basedir}/target/generated/src/main/java</outputDirectory>
         <serverSide>true</serverSide>
      </configuration>
      <goals>
         <goal>wsdl2java</goal>
      </goals>
   </execution>
</executions>

(We use this, because we connect to 2 servers that have slightly different versions of the same interface. And these deliver the wsdls with the same name.)

Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
Project: Maven 2.x Axis Tools Plugin
Priority: Minor Minor
Reporter: Nils Runge
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to