Merge r1006268 TUSCANY-3706: Fix dependencies on JAX-WS APIs and runtime
git-svn-id: https://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk@1027538 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/itest/wsdlgen/pom.xml b/itest/wsdlgen/pom.xml
index 444a4ba..b76752c 100644
--- a/itest/wsdlgen/pom.xml
+++ b/itest/wsdlgen/pom.xml
@@ -99,12 +99,23 @@
</exclusions>
</dependency>
- <dependency>
- <groupId>com.sun.xml.ws</groupId>
- <artifactId>jaxws-rt</artifactId>
- <version>2.1.4</version>
- </dependency>
-
+ <!-- Add javax.xml.ws.soap.Addressing in case the build is using
+ the bad version of jaxws-api with this class missing
+ -->
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jaxws_2.1_spec</artifactId>
+ <version>1.0</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.sun.xml.ws</groupId>
+ <artifactId>jaxws-rt</artifactId>
+ <version>2.1.4</version>
+ <scope>test</scope>
+ </dependency>
+
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
diff --git a/itest/wsdlless/pom.xml b/itest/wsdlless/pom.xml
index a4248ba..cddf93f 100644
--- a/itest/wsdlless/pom.xml
+++ b/itest/wsdlless/pom.xml
@@ -98,6 +98,16 @@
<scope>compile</scope>
</dependency>
+ <!-- Add javax.xml.ws.soap.Addressing in case the build is using
+ the bad version of jaxws-api with this class missing
+ -->
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jaxws_2.1_spec</artifactId>
+ <version>1.0</version>
+ <scope>test</scope>
+ </dependency>
+
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>