Results 1 to 10 of 23

Thread: Problem with maven and tutorial

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    5

    Question Problem with maven and tutorial

    Hi,

    I just tried to run the tutorial and therefore I executes the given maven command. But all what I get is a builderror:
    Code:
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.
    
    GroupId: org.springframework.ws
    ArtifactId: spring-ws-archetype
    Version: 1.0.0
    
    Reason: Unable to download the artifact from any repository
    
    Try downloading the file manually from the project website.
    
    Then, install it using the command:
        mvn install:install-file -DgroupId=org.springframework.ws -DartifactId=sprin
    g-ws-archetype \
            -Dversion=1.0.0 -Dpackaging=jar -Dfile=/path/to/file
    Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.springframework.ws -DartifactId=spring-ws
    -archetype \
            -Dversion=1.0.0 -Dpackaging=jar -Dfile=/path/to/file \
             -Durl=[url] -DrepositoryId=[id]
    
    
      org.springframework.ws:spring-ws-archetype:jar:1.0.0
    
    from the specified remote repositories:
      id0 (http://s3.amazonaws.com/maven.springframework.org)
    Whats going wrong here?

    Thanks for your help and best regards,
    Andreas

  2. #2
    Join Date
    Aug 2007
    Location
    Mexico city
    Posts
    3

    Default

    Have you tried configuring your maven proxy settings?

  3. #3
    Join Date
    Aug 2007
    Posts
    5

    Default

    How do I do that? I am new to maven and Spring...

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

    Default

    Well, the thing is that the tutorial is already using the 1.0.0 version, I haven't uploaded it yet!

    Working on it though, hang tight.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  5. #5
    Join Date
    Aug 2007
    Posts
    5

    Default

    Hi,

    I see, but is there any version, which I can use instead of the 1.0.0?

    Thanks for your help and best regards,
    Andreas

    Have a nice weekend

  6. #6

    Default

    Hi,

    can you tell me when we will have a 1.0 version in the maven repo? I too can't get the tutorial to work as I'm getting runtime exceptions because of incorrect dependancies.

    Many thanks,

    John.

  7. #7
    Join Date
    Jun 2008
    Posts
    6

    Default

    This tutorial might be helpful to you. It covers some errors that you may encounter while you start with Maven
    http://geekbrigade.wordpress.com/200...lipse-project/

Posting Permissions

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