summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-11-25 12:42:30 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-11-25 12:42:30 +0000
commit0d5cc4faa5e8109bdb35b657d4abb70880d143d2 (patch)
treefc7857a9c43442a15ec1c3d5b292e14a9ad77ea0 /sca-java-2.x/trunk/testing/itest
parent5e2c0c8fa6582fc898171a03c5f6ccb8a99c9b97 (diff)
Update to work with both Java 1.6 and 1.7. I think this looks like what has to be done to get wsimport and wsgen working from Maven for both java 1.6 and 1.7 - use the latest plugin from org.jvnet.jax-ws-commons, set thewsimport target to be 2.1, and include a dependency on the latest jaxws-tools
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1206141 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest')
-rw-r--r--sca-java-2.x/trunk/testing/itest/ws/contribution-java-first/pom.xml29
1 files changed, 11 insertions, 18 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/ws/contribution-java-first/pom.xml b/sca-java-2.x/trunk/testing/itest/ws/contribution-java-first/pom.xml
index 2f5ad0e4bf..90fb413e20 100644
--- a/sca-java-2.x/trunk/testing/itest/ws/contribution-java-first/pom.xml
+++ b/sca-java-2.x/trunk/testing/itest/ws/contribution-java-first/pom.xml
@@ -75,24 +75,9 @@
</executions>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
+ <groupId>org.jvnet.jax-ws-commons</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
- <version>1.10</version>
- <!-- Explicitly add the transitive dependencies for jaxws-api
- http://jira.codehaus.org/browse/MEV-498
- -->
- <dependencies>
- <dependency>
- <groupId>javax.jws</groupId>
- <artifactId>jsr181-api</artifactId>
- <version>1.0-MR1</version>
- </dependency>
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>jsr250-api</artifactId>
- <version>1.0</version>
- </dependency>
- </dependencies>
+ <version>2.1</version>
<executions>
<execution>
<id>wsgen1</id>
@@ -113,6 +98,7 @@
<goal>wsimport</goal>
</goals>
<configuration>
+ <target>2.1</target>
<packageName>org.apache.tuscany.sca.binding.ws.jaxws.external.service.iface</packageName>
<wsdlDirectory>${basedir}/target/classes</wsdlDirectory>
<wsdlFiles>
@@ -123,12 +109,19 @@
</execution>
</executions>
<configuration>
- <target>2.1</target>
<sourceDestDir>${project.build.directory}/jaxws-source</sourceDestDir>
<resourceDestDir>${project.build.directory}/jaxws-source</resourceDestDir>
<verbose>true</verbose>
<xnocompile>true</xnocompile>
</configuration>
+ <!-- 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.2.6-promoted-b10</version>
+ </dependency>
+ </dependencies>
</plugin>
</plugins>
</build>