Results 1 to 4 of 4

Thread: Problem building samples

  1. #1
    Join Date
    Apr 2008
    Posts
    15

    Default Problem building samples

    Hi - I am new to Spring WS and Maven 2. I followed the instructions in the readme.txt. When I am running the "mvn package" command I get the following error:

    C:\dev\spring-ws-1.5.0\samples>mvn package
    [INFO] Scanning for projects...
    Downloading: http://s3.amazonaws.com/maven.spring...estone/org/spr
    ingframework/ws/spring-ws-parent/1.5.0/spring-ws-parent-1.5.0.pom
    Downloading: http://repo1.maven.org/maven2/org/sp...spring-ws-pare
    nt/1.5.0/spring-ws-parent-1.5.0.pom
    [INFO] ------------------------------------------------------------------------
    [ERROR] FATAL ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.

    GroupId: org.springframework.ws
    ArtifactId: spring-ws-parent
    Version: 1.5.0

    Reason: Unable to download the artifact from any repository

    org.springframework.ws:spring-ws-parentom:1.5.0

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

    [INFO] ------------------------------------------------------------------------
    [INFO] Trace
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.spring
    framework.ws:spring-ws-parent for project: null:spring-ws-samplesom:null for p
    roject null:spring-ws-samplesom:null
    at org.apache.maven.DefaultMaven.getProjects(DefaultM aven.java:378)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:292)


    Anyone knows what is going on? I am using Maven 2.0.9.

    Thanks!

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

    Default

    Try to clear your local repository, or at least the SPring-WS part of it ($HOME/.m2/repository/org/springframework/ws) and try again.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  3. #3
    Join Date
    Apr 2008
    Posts
    15

    Default

    Thanks - that did it!

  4. #4
    Join Date
    Sep 2008
    Posts
    1

    Default problem building spring ws 1..4 with maven 2.0.9

    I am having similar problem and it reports that it cant find the artifact...i dont have anything under my my m2\docu settins\ either.What could be the problem?

Posting Permissions

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