Results 1 to 4 of 4

Thread: Maven Problem with airline sample

  1. #1

    Default Maven Problem with airline sample

    Hi,

    I'm having some problems building the airline sample application with maven.

    First, there was a problem with JTA, which I could solve by copying the jta jar into my local maven repository (the proposed mvn install:install-file didn't work either).

    Now, I have the following error when I try to run "mvn -P hsqldb jetty:run":

    Code:
    [INFO] Failed to resolve artifact.
    
    Missing:
    ----------
    1) javax.xml.crypto:xmldsig:jar:1.0
    
      Try downloading the file manually from the project website.
    
      Then, install it using the command:
          mvn install:install-file -DgroupId=javax.xml.crypto -DartifactId=xmldsig \
    
              -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
    
      Path to dependency:
            1) org.springframework.ws:airline:war:1.0-rc2
            2) org.springframework.ws:spring-ws-security:jar:1.0-rc2
            3) com.sun.xml.wss:xws-security:jar:2.0-FCS
            4) javax.xml.crypto:xmldsig:jar:1.0
    ----------
    1 required artifact is missing.
    
    for artifact:
      org.springframework.ws:airline:war:1.0-rc2
    
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      java.net (http://download.java.net/maven/1/)
    I've googled for a while now, and can't find this library... Any ideas?

    Thanks!

  2. #2
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    Darn. I'm pretty sure it was available at download.java.net previously, but now it's gone. So I've uploaded it to our repository. You can use it by adding the following to the sampes/airline/pom.file:

    Code:
    <repositories>
      <repository>
        <id>spring-ext</id>
        <name>Spring repo-ext</name>
        <url>https://springframework.svn.sourceforge.net/svnroot/springframework/repos/repo-ext/</url>
      </repository>
    </repositories>
    Pretty sure it should work that way. I'll fix this for 1.0.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  3. #3

    Default

    Pretty sure it should work that way. I'll fix this for 1.0.
    Yes, everything's working now. Thanks! (for the release, check also the JTA dependancy I mentioned)

  4. #4
    Join Date
    Jan 2008
    Posts
    13

    Default Missing from s3

    Get the following error.

    Missing:
    ----------
    1) javax.xml.crypto:xmldsig:jar:1.0

    Path to dependency:
    1) com.truewind.ws:wsclient:jar:1.0-SNAPSHOT
    2) org.springframework.ws:spring-ws-security:jar:1.5.0-m1
    3) com.sun.xml.wss:xws-security:jar:2.0-FCS
    4) javax.xml.crypto:xmldsig:jar:1.0

    ----------
    1 required artifact is missing.

    for artifact:
    com.truewind.ws:wsclient:jar:1.0-SNAPSHOT

    from the specified remote repositories:
    spring-milestone (http://s3.amazonaws.com/maven.spring....org/milestone),
    java.net (http://download.java.net/maven/1/),
    central (http://repo1.maven.org/maven2)

    ==========================================

    Resolved by adding:

    <repository>
    <id>spring-ext</id>
    <name>Spring repo-ext</name>
    <url>https://springframework.svn.sourceforge.net/svnroot/springframework/repos/repo-ext/</url>
    </repository>

    Shouldn't this be in the s3 repository?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •