Sep 06 2009
Want to use Spring 3.0 milestone release from Maven?
I wanted to add the Spring 3.0 M4 milestone early access release to a Maven project to test out some of the new features. However SpringĀ milestone releases are not readily available in the standard public Maven repositories, so what do you do?
For the full explanation check out the link to “Spring/Maven Repositories” link in the bottom. For a quick 1-2-3 step solution add this to the <repositories> section in your Maven pom.xml file so that Maven can find Spring’s early access milestone releases:
<repository>
<id>spring-milestone</id>
<name>Spring Portfolio Milestone Repository</name>
<url>http://s3.amazonaws.com/maven.springframework.org/milestone</url>
</repository>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<packaging>jar</packaging>
<version>3.0.0.M4</version>
</dependency>
This Spring article has additional details on this topic e.gĀ how to access snapshot releases:
No responses yet