Skip to content

Downloading Spring artifacts

cbeams edited this page Dec 20, 2011 · 10 revisions

A common question is how to download snapshot builds of Spring Framework artifacts. Assuming you use Maven as a build system, add the following to your pom.xml:

<repositories>
    <repository>
        <id>repository.springsource.maven.snapshot</id>
        <name>SpringSource Maven Snapshot Repository</name>
        <url>http://maven.springframework.org/snapshot</url>
    </repository>
</repositories>
<!-- ... -->
<dependencies>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context</artifactId>
        <version>3.1.0.BUILD-SNAPSHOT</version>
    </dependency>
<dependencies>