Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The org.apache.servicemix:archetypes pom defines:
<jaxws.version>2.1</jaxws.version>
and then some of the archetypes use it for things like:
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.1</version>
</dependency>
That is REALLY bad. The 2.1 version at central is more or less broken. It also doesn't match the 2.1 version at java.net. (history: java.net released a version. It was synced to central. Then, they decided to unrelease it to add some classes. They then re-released it with the same version number, but central won't change an artifact already there. Thus, when the new version was synced to central, it is called 2.1-1)
Anyway, change the pom to say:
<jaxws.version>2.1-1</jaxws.version>