Author: veithen Date: Sat Mar 30 16:54:25 2013 New Revision: 1462796 URL: http://svn.apache.org/r1462796 Log: Use CXF as JAX-WS implementation to avoid issues with the MTOM implementation in OpenJDK 7. Partial revert of r1435583.
Modified: webservices/axiom/trunk/modules/axiom-samples/pom.xml Modified: webservices/axiom/trunk/modules/axiom-samples/pom.xml URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-samples/pom.xml?rev=1462796&r1=1462795&r2=1462796&view=diff ============================================================================== --- webservices/axiom/trunk/modules/axiom-samples/pom.xml (original) +++ webservices/axiom/trunk/modules/axiom-samples/pom.xml Sat Mar 30 16:54:25 2013 @@ -52,6 +52,10 @@ <scope>runtime</scope> </dependency> <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + </dependency> + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> @@ -62,9 +66,22 @@ <version>${project.version}</version> <scope>test</scope> </dependency> + + <!-- We require Java 1.6 for the build and we could therefore use the JAX-WS + implementation in the JRE. However, in some Java versions the MTOM + support seems to be broken (or at least to have to behave differently). + To avoid that problem, we use CXF as the JAX-WS implementation. --> <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-frontend-jaxws</artifactId> + <version>2.4.4</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.cxf</groupId> + <artifactId>cxf-rt-transports-http-jetty</artifactId> + <version>2.4.4</version> + <scope>test</scope> </dependency> </dependencies> <build>