Hello,
I try to run multiple execution(s) with different configurations via the
jaxws-maven-plugin. The problem is that only the first execution is
executed, can anyone help me out?
I tried different versions of the plugin and the dependeny, nothing
really worked.
Thanks a lot
Thomas
The pom:
<?xml version="1.0" encoding="UTF-8" ?>
<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/xsd/maven-4.0.0.xsd"
>
<modelVersion>4.0.0</modelVersion>
<groupId>de.norcom.vebeg</groupId>
<artifactId>vebeg-diamant-2</artifactId>
<packaging>jar</packaging>
<version>0.0.1</version>
<dependencies>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
<version>2.1.4</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>1.10</version>
<executions>
<execution>
<id>i1</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<packageName>diamant.session</packageName>
<wsdlFiles>
<wsdlFile>SessionService.wsdl</wsdlFile>
</wsdlFiles>
</configuration>
</execution>
<execution>
<id>i3</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<packageName>diamant.account</packageName>
<wsdlFiles>
<wsdlFile>GenLedgAccountService.wsdl</wsdlFile>
</wsdlFiles>
</configuration>
</execution>
<execution>
<id>i4</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<packageName>diamant.customer</packageName>
<wsdlFiles>
<wsdlFile>CustomerService.wsdl</wsdlFile>
</wsdlFiles>
</configuration>
</execution>
<execution>
<id>i5</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<packageName>diamant.vendor</packageName>
<wsdlFiles>
<wsdlFile>VendorService.wsdl</wsdlFile>
</wsdlFiles>
</configuration>
</execution>
<execution>
<id>i6</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<packageName>diamant.address</packageName>
<wsdlFiles>
<wsdlFile>AddressService.wsdl</wsdlFile>
<wsdlFile>ContactPersonService.wsdl</wsdlFile>
</wsdlFiles>
</configuration>
</execution>
<execution>
<id>i7</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<packageName>diamant.standingdata</packageName>
<wsdlFiles>
<wsdlFile>BankService.wsdl</wsdlFile>
<wsdlFile>TaxCodeService.wsdl</wsdlFile>
</wsdlFiles>
</configuration>
</execution>
<execution>
<id>i2</id>
<goals>
<goal>wsimport</goal>
</goals>
<configuration>
<packageName>diamant.transaction</packageName>
<wsdlFiles>
<wsdlFile>OIService.wsdl</wsdlFile>
<wsdlFile>SettlementService.wsdl</wsdlFile>
<wsdlFile>TransactionService.wsdl</wsdlFile>
</wsdlFiles>
</configuration>
</execution>
</executions>
<!-- if you want to use a specific
version of JAX-WS, you can do so like this -->
<dependencies>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-tools</artifactId>
<version>2.1.5-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>Cp1252</encoding>
</configuration>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>maven2-repository.dev.java.net</id>
<url>
http://download.java.net/maven/2/</url>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>maven-repository.dev.java.net</id>
<name>Java.net Repository for Maven 1</name>
<url>
http://download.java.net/maven/1/</url>
<layout>legacy</layout>
</repository>
<repository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net Repository for Maven 2</name>
<url>
http://download.java.net/maven/2/</url>
</repository>
</repositories>
</project>