Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-697

Support Maven 3 Remove legacy xws-security

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.3
    • Component/s: Samples
    • Labels:
      None

      Description

      As a developer, I would like to include my Spring WS in my projects and build with Maven 3.x. The dependency on com.sun.xml.wss which is referenced as a legacy repository, not supported by Maven 3.

      In the "spring-ws-security-2.0.0.RELEASE.pom" file

        <!-- XWSS dependencies -->
        <dependency>
            <groupId>com.sun.xml.wss</groupId>
            <artifactId>xws-security</artifactId>
        </dependency>

      available from the following repository:

              <repository>
                  <id>java.net</id>
                  <name>Java.net Repository for Maven2</name>
                  <url>http://download.java.net/maven/1/</url>
                  <layout>legacy</layout>
                  <snapshots>
                      <enabled>false</enabled>
                  </snapshots>
                  <releases>
                      <enabled>true</enabled>
                  </releases>
              </repository>

      Can this be changed to use the following?

        <properties>
          <geronimo.ws.version>1.1.3</geronimo.ws.version>
          <xws.version>1.3.1</xws.version>
        </properties>
      ...
        <dependency>
          <groupId>org.apache.geronimo.specs</groupId>
          <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
          <version>${geronimo.ws.version}</version>
        </dependency>
        <dependency>
          <groupId>com.sun.xml.wsit</groupId>
          <artifactId>xws-security</artifactId>
          <version>${xws.version}</version>
        </dependency>

      Where the xws jars are from the following repository?

        <repository>
          <id>jboss.repository.releases.public</id>
          <name>JBoss Repo Public</name> 
          <url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
        </repository>

      Regards,
      Gordon Dickens
      twitter.com/gdickens
      linkedin.com/in/gordondickens
      Blog: technophile.gordondickens.com

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        159d 17h 21m 1 Arjen Poutsma 19/Aug/11 3:18 AM
        In Progress In Progress Resolved Resolved
        1h 29m 1 Arjen Poutsma 19/Aug/11 4:47 AM
        Resolved Resolved Closed Closed
        259d 2h 16m 1 Arjen Poutsma 04/May/12 7:03 AM

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            gordonad Gordon Dickens
          • Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: