Notes
CXF dependencies
<dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId> <version>${cxf.version}</version> </dependency> <!-- Jetty is needed if you're using the CXFServlet --> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf.version}</version> </dependency>
VS
<dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-bundle</artifactId> <version>2.4.0</version> </dependency>
[INFO] Unable to find resource 'javax.jws:jsr181-api:jar:1.0' in repository central (http://repo1.maven.org/maven2)
@StreamingAttachment annotation (for setting the MTOM threshold) depends on http://mvnrepository.com/artifact/com.sun.xml/jaxws-rt/2.0EA3 which depends on http://mvnrepository.com/artifact/javax.jws/jsr181-api/1.0-MR1 which is not in maven central.
Unable to find resource 'javax.jws:jsr181-api:jar:1.0' in repository central (http://repo1.maven.org/maven2)
However I was able to download it from
http://repo1.maven.org/maven2/javax/jws/jsr181-api/1.0-MR1/jsr181-api-1.0-MR1.jar (which is maven central)
and install it by
mvn install:install-file -DgroupId=javax.jws -DartifactId=jsr181-api -Dversion=1.0 -Dpackaging=jar -Dfile=../Downloads/jsr181-api-1.0-MR1.jar
Thats strange.
Candidates for removal
ReadOnlyContext.getSoapContext()
*.wsdd
For the discussion
@StreamingAttachment(parseEagerly = true, memoryThreshold = 40000L)