Announcement Announcement Module
Collapse
No announcement yet.
Maven 1.0.0.BUILD-SNAPSHOT Url does not work Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Maven 1.0.0.BUILD-SNAPSHOT Url does not work

    I can't get files from the maven snapshot repository.

    The Milestone repository works:
    http://s3.amazonaws.com/maven.spring...b-1.0.0.M2.pom

    But the snapshot repository:
    http://s3.amazonaws.com/maven.spring...D-SNAPSHOT.pom

    gives the following error:
    <Error>
    <Code>NoSuchKey</Code>
    <Message>The specified key does not exist.</Message>
    <Key>
    snapshot/org/springframework/data/spring-data-mongodb/1.0.0.BUILD-SNAPSHOT/spring-data-mongodb-1.0.0.BUILD-SNAPSHOT.pom
    </Key>
    <RequestId>BDF67242B4302382</RequestId>
    <HostId>3KE7crqKaS0AfjtPMNUbbfPthhA97YFscN6vTu2A3k 5W9ZpRWkcisSMVPr4V6VR6</HostId>
    </Error>

  • #2
    Hi,

    Not sure why you are having trouble. I just blew away all my local maven snapshot download and was able to access the snapshot jars.

    Hosting our maven snapshot repo on S3 is a bit of a PITA, but they are browsable here.

    I don't think it makes a difference, but you might want to add the snapshots enabaled option to the pom

    Code:
    	<repository>
    	  <id>spring-maven-snapshot</id>
    	  <snapshots><enabled>true</enabled></snapshots>
    	  <name>Springframework Maven SNAPSHOT Repository</name>
    	  <url>http://maven.springframework.org/snapshot</url>
    	</repository>
    The dependency as listed in my example app pom.xml that I just ran is

    Code:
    		<dependency>
    		 <groupId>org.springframework.data</groupId>
    		 <artifactId>spring-data-mongodb</artifactId>
    		 <version>1.0.0.BUILD-SNAPSHOT</version>
    		</dependency>
    Cheers,
    Mark

    Comment


    • #3
      Thanks a lot!!!
      With the
      Code:
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      everything works fine!

      Comment

      Working...
      X