Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1910

JAX-WS version in archetype parent pom is bad

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • archetypes-2010.01
    • archetypes
    • 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>

      Attachments

        Activity

          People

            jb@nanthrax.net Jean-Baptiste Onofré
            dkulp Daniel Kulp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: