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

        gordonad Gordon Dickens created issue -
        arjen.poutsma Arjen Poutsma made changes -
        Field Original Value New Value
        Affects Version/s 2.0 GA [ 10981 ]
        Component/s Samples [ 10190 ]
        Component/s Security [ 10211 ]
        Affects Version/s 2.0.1 [ 11810 ]
        Assignee Arjen Poutsma [ arjen.poutsma ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        arjen.poutsma Arjen Poutsma made changes -
        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/&lt;/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&lt;/url>
          </repository>


        Regards,
        Gordon Dickens
        twitter.com/gdickens
        linkedin.com/in/gordondickens
        Blog: technophile.gordondickens.com
        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

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

        available from the following repository:
        {code:xml}
                <repository>
                    <id>java.net</id>
                    <name>Java.net Repository for Maven2</name>
                    <url>http://download.java.net/maven/1/&lt;/url>
                    <layout>legacy</layout>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                </repository>
        {code}

        Can this be changed to use the following?
        {code:xml}
          <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>
        {code}

        Where the xws jars are from the following repository?
        {code:xml}
          <repository>
            <id>jboss.repository.releases.public</id>
            <name>JBoss Repo Public</name>
            <url>http://repository.jboss.org/nexus/content/groups/public-jboss&lt;/url>
          </repository>
        {code}


        Regards,
        Gordon Dickens
        twitter.com/gdickens
        linkedin.com/in/gordondickens
        Blog: technophile.gordondickens.com
        arjen.poutsma Arjen Poutsma made changes -
        Fix Version/s 2.0.3 [ 12197 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Complete [ 8 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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: