Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.1 RC1
    • Component/s: Samples
    • Labels:
    • Environment:
      Tomcat 7, STS 2.8.1, Maven 3.0.3

      Description

      When Maven builds the airline sample project, there occur the following errors;

      com.sun.xml.wsit:xws-security:jar:1.3.1 is missing.
      com.sun.xml.wsit:wsit-rt:jar:1.1 is missing.

      I cannot find a repository which has them.

        Activity

        Hide
        Arjen Poutsma added a comment -

        These are in:

        <repository>
            <id>jboss.repository.releases.public</id>
            <name>JBoss Repo Public</name>
            <url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
        </repository>
        
        Show
        Arjen Poutsma added a comment - These are in: <repository> <id> jboss.repository.releases.public </id> <name> JBoss Repo Public </name> <url> http://repository.jboss.org/nexus/content/groups/public-jboss </url> </repository>
        Hide
        Nishimorit added a comment -

        This description is in spring-ws-2.0.4.RELEASE/samples/airline/client/saaj/pom.xml[Client Project].
        I build spring-ws-2.0.4.RELEASE/samples/airline/server/pom.xml[Server Project], so build errors occur.

        Show
        Nishimorit added a comment - This description is in spring-ws-2.0.4.RELEASE/samples/airline/client/saaj/pom.xml [Client Project] . I build spring-ws-2.0.4.RELEASE/samples/airline/server/pom.xml [Server Project] , so build errors occur.
        Hide
        Arjen Poutsma added a comment -

        Closing old issues

        Show
        Arjen Poutsma added a comment - Closing old issues
        Hide
        kumar gaurav added a comment -

        I have the same issue and I am using the sample file which has same location as you mentioned
        <?xml version="1.0" encoding="UTF-8"?>
        <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <parent>
        <artifactId>airline-client</artifactId>
        <groupId>org.springframework.ws</groupId>
        <version>2.0.4.RELEASE</version>
        <relativePath>../pom.xml</relativePath>
        </parent>
        <modelVersion>4.0.0</modelVersion>
        <artifactId>airline-saaj-client</artifactId>
        <packaging>jar</packaging>
        <name>Spring WS Airline Sample - SAAJ Client</name>
        <profiles>
        <profile>
        <id>jdk15</id>
        <activation>
        <jdk>!1.6</jdk>
        </activation>
        <dependencies>
        <dependency>
        <groupId>javax.xml.soap</groupId>
        <artifactId>saaj-api</artifactId>
        <scope>compile</scope>
        </dependency>
        <dependency>
        <groupId>com.sun.xml.messaging.saaj</groupId>
        <artifactId>saaj-impl</artifactId>
        </dependency>
        <dependency>
        <groupId>javax.activation</groupId>
        <artifactId>activation</artifactId>
        </dependency>
        <dependency>
        <groupId>com.sun.org.apache.xml.security</groupId>
        <artifactId>xmlsec</artifactId>
        </dependency>
        </dependencies>
        </profile>
        </profiles>
        <repositories>
        <repository>
        <id>jboss.repository.releases.public</id>
        <name>JBoss Repo Public</name>
        <url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
        </repository>
        </repositories>
        <build>
        <plugins>
        <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <executions>
        <execution>
        <goals>
        <goal>java</goal>
        </goals>
        </execution>
        </executions>
        <configuration>
        <mainClass>org.springframework.ws.samples.airline.client.saaj.Driver</mainClass>
        </configuration>
        </plugin>
        </plugins>
        </build>
        <dependencies>
        <dependency>
        <groupId>com.sun.xml.wsit</groupId>
        <artifactId>xws-security</artifactId>
        </dependency>
        <dependency>
        <groupId>com.sun.xml.wsit</groupId>
        <artifactId>wsit-rt</artifactId>
        </dependency>
        </dependencies>
        </project>
        .

        Show
        kumar gaurav added a comment - I have the same issue and I am using the sample file which has same location as you mentioned <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> <parent> <artifactId>airline-client</artifactId> <groupId>org.springframework.ws</groupId> <version>2.0.4.RELEASE</version> <relativePath>../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>airline-saaj-client</artifactId> <packaging>jar</packaging> <name>Spring WS Airline Sample - SAAJ Client</name> <profiles> <profile> <id>jdk15</id> <activation> <jdk>!1.6</jdk> </activation> <dependencies> <dependency> <groupId>javax.xml.soap</groupId> <artifactId>saaj-api</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>com.sun.xml.messaging.saaj</groupId> <artifactId>saaj-impl</artifactId> </dependency> <dependency> <groupId>javax.activation</groupId> <artifactId>activation</artifactId> </dependency> <dependency> <groupId>com.sun.org.apache.xml.security</groupId> <artifactId>xmlsec</artifactId> </dependency> </dependencies> </profile> </profiles> <repositories> <repository> <id>jboss.repository.releases.public</id> <name>JBoss Repo Public</name> <url> http://repository.jboss.org/nexus/content/groups/public-jboss </url> </repository> </repositories> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <goals> <goal>java</goal> </goals> </execution> </executions> <configuration> <mainClass>org.springframework.ws.samples.airline.client.saaj.Driver</mainClass> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.sun.xml.wsit</groupId> <artifactId>xws-security</artifactId> </dependency> <dependency> <groupId>com.sun.xml.wsit</groupId> <artifactId>wsit-rt</artifactId> </dependency> </dependencies> </project> .
        Hide
        Arjen Poutsma added a comment -

        I'll take another look at this for 2.1 RC1

        Show
        Arjen Poutsma added a comment - I'll take another look at this for 2.1 RC1
        Hide
        Arjen Poutsma added a comment -

        I just did a build with an empty repository, and all the samples build fine for me:

        > pwd
        /Users/arjen/Projects/spring-ws/samples
        > mvn clean install -Dmaven.repo.local=./repo
        ...
        [INFO] Reactor Summary:
        [INFO] 
        [INFO] Spring WS Samples ................................. SUCCESS [0.216s]
        [INFO] Spring WS Echo Sample ............................. SUCCESS [0.007s]
        [INFO] Spring WS Echo Sample - Server .................... SUCCESS [2.406s]
        [INFO] Spring WS Echo Sample - Clients ................... SUCCESS [0.021s]
        [INFO] Spring WS Echo Sample - SAAJ Client ............... SUCCESS [0.563s]
        [INFO] Spring WS Echo Sample - Spring-WS Client .......... SUCCESS [0.404s]
        [INFO] Spring WS Holiday Service Tutorial ................ SUCCESS [1.493s]
        [INFO] Spring WS MTOM Sample ............................. SUCCESS [0.006s]
        [INFO] Spring WS MTOM Sample - Server .................... SUCCESS [1.571s]
        [INFO] Spring WS MTOM Sample - Clients ................... SUCCESS [0.005s]
        [INFO] Spring WS MTOM Sample - JAX-WS Client ............. SUCCESS [1.749s]
        [INFO] Spring WS MTOM Sample - Spring-WS Client .......... SUCCESS [0.607s]
        [INFO] Spring WS POX Sample .............................. SUCCESS [0.006s]
        [INFO] Spring WS POX Sample - Server ..................... SUCCESS [1.332s]
        [INFO] Spring WS POX Sample - Clients .................... SUCCESS [0.014s]
        [INFO] Spring WS POX Sample - Spring-WS Client ........... SUCCESS [0.314s]
        [INFO] Spring WS Stock Quote Sample ...................... SUCCESS [0.005s]
        [INFO] Spring WS Stock Quote Sample - Server ............. SUCCESS [0.760s]
        [INFO] Spring WS Stock Quote Sample - Clients ............ SUCCESS [0.005s]
        [INFO] Spring WS Stock Quote Sample - JAX-WS Client ...... SUCCESS [1.519s]
        [INFO] Spring WS Stock Quote Sample - Spring-WS Client ... SUCCESS [0.419s]
        [INFO] Spring WS Airline Sample .......................... SUCCESS [0.007s]
        [INFO] Spring WS Airline Sample - Server ................. SUCCESS [6.498s]
        [INFO] Spring WS Airline Sample - Clients ................ SUCCESS [0.005s]
        [INFO] Spring WS Airline Sample - SAAJ Client ............ SUCCESS [0.361s]
        [INFO] Spring WS Airline Sample - Axis 1 Client .......... SUCCESS [1.020s]
        [INFO] Spring WS Airline Sample - Spring-WS Client ....... SUCCESS [4.410s]
        [INFO] Spring WS Airline Sample - JMS Client ............. SUCCESS [0.297s]
        [INFO] Spring WS Airline Sample - JAX-WS Client .......... SUCCESS [1.463s]
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD SUCCESS
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 28.211s
        [INFO] Finished at: Tue May 08 10:56:04 CEST 2012
        [INFO] Final Memory: 29M/81M
        [INFO] ------------------------------------------------------------------------
        

        Make sure you build from the 'samples' directory, not a subdirectory.

        Show
        Arjen Poutsma added a comment - I just did a build with an empty repository, and all the samples build fine for me: > pwd /Users/arjen/Projects/spring-ws/samples > mvn clean install -Dmaven.repo.local=./repo ... [INFO] Reactor Summary: [INFO] [INFO] Spring WS Samples ................................. SUCCESS [0.216s] [INFO] Spring WS Echo Sample ............................. SUCCESS [0.007s] [INFO] Spring WS Echo Sample - Server .................... SUCCESS [2.406s] [INFO] Spring WS Echo Sample - Clients ................... SUCCESS [0.021s] [INFO] Spring WS Echo Sample - SAAJ Client ............... SUCCESS [0.563s] [INFO] Spring WS Echo Sample - Spring-WS Client .......... SUCCESS [0.404s] [INFO] Spring WS Holiday Service Tutorial ................ SUCCESS [1.493s] [INFO] Spring WS MTOM Sample ............................. SUCCESS [0.006s] [INFO] Spring WS MTOM Sample - Server .................... SUCCESS [1.571s] [INFO] Spring WS MTOM Sample - Clients ................... SUCCESS [0.005s] [INFO] Spring WS MTOM Sample - JAX-WS Client ............. SUCCESS [1.749s] [INFO] Spring WS MTOM Sample - Spring-WS Client .......... SUCCESS [0.607s] [INFO] Spring WS POX Sample .............................. SUCCESS [0.006s] [INFO] Spring WS POX Sample - Server ..................... SUCCESS [1.332s] [INFO] Spring WS POX Sample - Clients .................... SUCCESS [0.014s] [INFO] Spring WS POX Sample - Spring-WS Client ........... SUCCESS [0.314s] [INFO] Spring WS Stock Quote Sample ...................... SUCCESS [0.005s] [INFO] Spring WS Stock Quote Sample - Server ............. SUCCESS [0.760s] [INFO] Spring WS Stock Quote Sample - Clients ............ SUCCESS [0.005s] [INFO] Spring WS Stock Quote Sample - JAX-WS Client ...... SUCCESS [1.519s] [INFO] Spring WS Stock Quote Sample - Spring-WS Client ... SUCCESS [0.419s] [INFO] Spring WS Airline Sample .......................... SUCCESS [0.007s] [INFO] Spring WS Airline Sample - Server ................. SUCCESS [6.498s] [INFO] Spring WS Airline Sample - Clients ................ SUCCESS [0.005s] [INFO] Spring WS Airline Sample - SAAJ Client ............ SUCCESS [0.361s] [INFO] Spring WS Airline Sample - Axis 1 Client .......... SUCCESS [1.020s] [INFO] Spring WS Airline Sample - Spring-WS Client ....... SUCCESS [4.410s] [INFO] Spring WS Airline Sample - JMS Client ............. SUCCESS [0.297s] [INFO] Spring WS Airline Sample - JAX-WS Client .......... SUCCESS [1.463s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 28.211s [INFO] Finished at: Tue May 08 10:56:04 CEST 2012 [INFO] Final Memory: 29M/81M [INFO] ------------------------------------------------------------------------ Make sure you build from the 'samples' directory, not a subdirectory.
        Hide
        Jim Vogel added a comment -

        Arjen,
        I also started with a blank repository, and built from the samples dir, but I get errors:
        xxx$ pwd
        /Users/xxx/Downloads/spring-ws-2.1.0.RELEASE
        xxx$ cd samples
        xxx$ mvn clean install -Dmaven.repo.local=./repo
        [INFO] Scanning for projects...

        [INFO] ------------------------------------------------------------------------
        [INFO] Reactor Summary:
        [INFO]
        [INFO] Spring WS Samples ................................. SUCCESS [18.744s]
        [INFO] Spring WS Echo Sample ............................. SUCCESS [0.006s]
        [INFO] Spring WS Echo Sample - Server .................... SUCCESS [1:26.472s]
        [INFO] Spring WS Echo Sample - Clients ................... SUCCESS [0.004s]
        [INFO] Spring WS Echo Sample - SAAJ Client ............... SUCCESS [19.522s]
        [INFO] Spring WS Echo Sample - Spring-WS Client .......... SUCCESS [0.297s]
        [INFO] Spring WS Holiday Service Tutorial ................ SUCCESS [3.531s]
        [INFO] Spring WS MTOM Sample ............................. SUCCESS [0.005s]
        [INFO] Spring WS MTOM Sample - Server .................... SUCCESS [18.549s]
        [INFO] Spring WS MTOM Sample - Clients ................... SUCCESS [0.006s]
        [INFO] Spring WS MTOM Sample - JAX-WS Client ............. FAILURE [26.047s]
        [INFO] Spring WS MTOM Sample - Spring-WS Client .......... SKIPPED

        [ERROR] Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:1.10:wsimport (default) on project mtom-jax-ws-client: Error executing: wsimport [-s, /Users/xxx/Downloads/spring-ws-2.1.0.RELEASE/samples/mtom/client/jax-ws/target/jaxws/wsimport/java, -d, /Users/xxx/Downloads/spring-ws-2.1.0.RELEASE/samples/mtom/client/jax-ws/target/classes, -p, org.springframework.ws.samples.mtom.client.jaxws, file:///Users/xxx/Downloads/spring-ws-2.1.0.RELEASE/samples/mtom/client/jax-ws/mtom.wsdl] -> [Help 1]

        Since I am currently most interested in the airline project, I tried running mvn clean install from airline dir, but get the following error:
        [ERROR] Failed to execute goal on project airline-server: Could not resolve dependencies for project org.springframework.ws:airline-server:war:2.1.0.RELEASE: The following artifacts could not be resolved: com.sun.xml.wsit:xws-security:jar:1.3.1, com.sun.xml.wsit:wsit-rt:jar:1.1: Could not find artifact com.sun.xml.wsit:xws-security:jar:1.3.1 in spring-ext (https://springframework.svn.sourceforge.net/svnroot/springframework/repos/repo-ext/) -> [Help 1]

        Show
        Jim Vogel added a comment - Arjen, I also started with a blank repository, and built from the samples dir, but I get errors: xxx$ pwd /Users/xxx/Downloads/spring-ws-2.1.0.RELEASE xxx$ cd samples xxx$ mvn clean install -Dmaven.repo.local=./repo [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Spring WS Samples ................................. SUCCESS [18.744s] [INFO] Spring WS Echo Sample ............................. SUCCESS [0.006s] [INFO] Spring WS Echo Sample - Server .................... SUCCESS [1:26.472s] [INFO] Spring WS Echo Sample - Clients ................... SUCCESS [0.004s] [INFO] Spring WS Echo Sample - SAAJ Client ............... SUCCESS [19.522s] [INFO] Spring WS Echo Sample - Spring-WS Client .......... SUCCESS [0.297s] [INFO] Spring WS Holiday Service Tutorial ................ SUCCESS [3.531s] [INFO] Spring WS MTOM Sample ............................. SUCCESS [0.005s] [INFO] Spring WS MTOM Sample - Server .................... SUCCESS [18.549s] [INFO] Spring WS MTOM Sample - Clients ................... SUCCESS [0.006s] [INFO] Spring WS MTOM Sample - JAX-WS Client ............. FAILURE [26.047s] [INFO] Spring WS MTOM Sample - Spring-WS Client .......... SKIPPED [ERROR] Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:1.10:wsimport (default) on project mtom-jax-ws-client: Error executing: wsimport [-s, /Users/xxx/Downloads/spring-ws-2.1.0.RELEASE/samples/mtom/client/jax-ws/target/jaxws/wsimport/java, -d, /Users/xxx/Downloads/spring-ws-2.1.0.RELEASE/samples/mtom/client/jax-ws/target/classes, -p, org.springframework.ws.samples.mtom.client.jaxws, file:///Users/xxx/Downloads/spring-ws-2.1.0.RELEASE/samples/mtom/client/jax-ws/mtom.wsdl] -> [Help 1] Since I am currently most interested in the airline project, I tried running mvn clean install from airline dir, but get the following error: [ERROR] Failed to execute goal on project airline-server: Could not resolve dependencies for project org.springframework.ws:airline-server:war:2.1.0.RELEASE: The following artifacts could not be resolved: com.sun.xml.wsit:xws-security:jar:1.3.1, com.sun.xml.wsit:wsit-rt:jar:1.1: Could not find artifact com.sun.xml.wsit:xws-security:jar:1.3.1 in spring-ext ( https://springframework.svn.sourceforge.net/svnroot/springframework/repos/repo-ext/ ) -> [Help 1]

          People

          • Assignee:
            Arjen Poutsma
            Reporter:
            Nishimorit
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - Not Specified
              Not Specified
              Logged:
              Time Spent - 17m
              17m