1.8. How to obtain nightly (aka 'snapshot') builds
Prev | 1. Introduction | Next

## 1.8. How to obtain nightly (aka 'snapshot') builds

### 1.8.1. Via manual download

Nightly builds are available from Spring's snapshot build area.

### 1.8.2. Via Maven

To access nightly builds using Maven, add the following repositories to your Maven pom:

    <repository>
        <id>com.springsource.repository.bundles.snapshot</id>
        <name>SpringSource Enterprise Bundle Repository - SpringSource Snapshot Builds</name>
        <url>http://repository.springsource.com/maven/bundles/snapshot</url>
    </repository>

    <repository>
        <id>com.springsource.repository.bundles.external</id>
        <name>SpringSource Enterprise Bundle Repository - External Releases</name>
        <url>http://repository.springsource.com/maven/bundles/external</url>
    </repository>

Then add the following dependency:

    <dependency>
        <groupId>org.springframework.javaconfig</groupId>
        <artifactId>org.springframework.config.java</artifactId>
        <version>1.0.0.BUILD-SNAPSHOT</version>
    </dependency>

### 1.8.3. Via Ivy

To access nightly builds using Ivy, add the following repositories to your Ivy config:

    <url name="com.springsource.repository.bundles.snapshot">
        <ivy pattern="http://repository.springsource.com/ivy/bundles/snapshot/
                      [organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
        <artifact pattern="http://repository.springsource.com/ivy/bundles/snapshot/
                           [organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
    </url>

    <url name="com.springsource.repository.bundles.external">
        <ivy pattern="http://repository.springsource.com/ivy/bundles/external/
                      [organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
        <artifact pattern="http://repository.springsource.com/ivy/bundles/external/
                           [organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
    </url>

Then declare the following dependency:

    <dependency org="org.springframework.javaconfig" name="org.springframework.config.java"
                rev="1.0.0.BUILD-SNAPSHOT" conf="compile->runtime"/>

Prev | Up | Next
1.7. How to obtain milestone builds | Home | 2. Authoring @Configuration classes