Announcement Announcement Module
Collapse
No announcement yet.
Building samples with Maven doesn't work Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Building samples with Maven doesn't work

    Good Evening,

    I have just tried to build the samples again (posted same issue in a message with Eclipse in the title - this has nothing to do with Eclipse) and am getting nowhere. I'm afraid I know nowt about Maven and was hoping I could just install maven and run the simple commands as outlined in the readme files.

    Anyway - it doesn't seem to work. I get this message.

    Code:
    C:\java\spring-ws-2.0.2.RELEASE\samples\echo\server>mvn package
    [INFO] Scanning for projects...
    [WARNING] The POM for org.springframework.build.aws:org.springframework.build.aws.maven:jar:3.1.0.RELEASE is missing, no
     dependency information available
    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]
    [ERROR]   The project org.springframework.ws:echo-server:2.0.2.RELEASE (C:\java\spring-ws-2.0.2.RELEASE\samples\echo\ser
    ver\pom.xml) has 1 error
    [ERROR]     Unresolveable build extension: Plugin org.springframework.build.aws:org.springframework.build.aws.maven:3.1.
    0.RELEASE or one of its dependencies could not be resolved: Failure to find org.springframework.build.aws:org.springfram
    ework.build.aws.maven:jar:3.1.0.RELEASE in http://repository.springsource.com/maven/bundles/release/ was cached in the l
    ocal repository, resolution will not be reattempted until the update interval of com.springsource.repository.bundles.rel
    ease has elapsed or updates are forced -> [Help 2]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
    [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
    C:\java\spring-ws-2.0.2.RELEASE\samples\echo\server>
    What does this mean?

    Any help would be appreciated.

    Cheers

    Mat

  • #2
    In the end I downloaded the 2.0.0-M1 release and the samples build in that version.

    http://s3.amazonaws.com/dist.springf...pendencies.zip

    Comment


    • #3
      I dont know how to fix that either.

      I just copied the jar into my local repository.

      I got the jar from :
      http://shrub.appspot.com/maven.sprin...3.1.0.RELEASE/

      and i copied it into the local repository area:


      C:\Users\myloginname\.m2\repository\org\springfram ework\build\aws\org.springframework.build.aws.mave n\3.1.0.RELEASE

      then the build proceeded.

      Spring dev should fix this.

      Comment

      Working...
      X