Announcement Announcement Module
Collapse
No announcement yet.
Spring Maven Snapshot Repository not working Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Maven Snapshot Repository not working

    I am trying to get the latest nightly 3.0.1.SNAPSHOT version from the Spring Maven repositories using the instructions from the blog post at http://blog.springsource.com/2009/12...ts-with-maven/

    However adding the Maven central compatible (or even the EBR) repository for nigthly snapshot releases doesn't work. No matter what I try i can't seem to get the 3.0.1.SNAPSHOT version from the repositories.

    Does anyone know why this isn't working? And maybe how to solve it?

    I'm adding the following to my pom file:
    Code:
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-aop</artifactId>
        <version>3.0.1.SNAPSHOT</version>
    </dependency>
    
    ...
    
    <repository>
        <id>com.springsource.repository.maven.snapshot</id>
        <url>http://maven.springframework.org/snapshot/</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>

  • #2
    The correct name of the artifact is 3.0.1.BUILD-SNAPSHOT

    Change your dependency to:
    Code:
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-aop</artifactId>
        <version>3.0.1.BUILD-SNAPSHOT</version>
    </dependency>
    And it should work.

    Comment


    • #3
      Thanks for the help!

      Turned out to be a faulty repository configuration and the wrong version that made it fail.

      Comment


      • #4
        Snapshot repo eludes me...

        I've been searching for more time than I can believe yet I can't seem to find the Spring Maven snapshot repository. I've found a bunch of links, but none seem to work...where is the official Maven snapshot repo for Spring?

        Comment

        Working...
        X