1.7. How to access nightly builds
Prev | 1. Introduction | Next

## 1.7. How to access nightly builds

Nightly snapshots of Web Flow development branches are available using Maven, and distribution zips are also available for download. These snapshot builds are useful for testing out fixes you depend on in advance of the next release, and provide a convenient way for you to provide feedback about whether a fix meets your needs.

If using Maven, you may obtain snapshots from either the SpringSource-managed Maven Central-compatible repository or the SpringSource Enterprise Bundle Repository. Use the Maven Central-compatible snapshot repository when your project obtains its other open source dependencies from Maven Central. Use the Spring Source Enterprise Bundle Snapshot Repository when you wish to run Web Flow in an OSGi environment.

### Accessing snapshots from the Maven-central compatible repository

Add the following repository your pom:

    <repository>
        <id>org.springsource.maven.snapshot</id>
        <name>SpringSource Maven Central-compatible Snapshot Repository</name>
        <url>http://maven.springframework.org/snapshot</url>
    </repository>

Then declare the following dependencies:

    <dependency>
        <groupId>org.springframework.webflow</groupId>
        <artifactId>spring-binding</artifactId>
        <version>x.y.z.BUILD-SNAPSHOT</version>
    </dependency>

    <dependency>
        <groupId>org.springframework.webflow</groupId>
        <artifactId>spring-js</artifactId>
        <version>x.y.z.BUILD-SNAPSHOT</version>
    </dependency>

    <dependency>
        <groupId>org.springframework.webflow</groupId>
        <artifactId>spring-webflow</artifactId>
        <version>x.y.z.BUILD-SNAPSHOT</version>
    </dependency>

And if using JavaServerFaces:

    <dependency>
        <groupId>org.springframework.webflow</groupId>
        <artifactId>spring-faces</artifactId>
        <version>x.y.z.BUILD-SNAPSHOT</version>
    </dependency>

### Accessing snapshots from the SpringSource Enterprise Bundle Repository

Add the following repository your pom:

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

Then declare the following dependencies:

    <dependency>
        <groupId>org.springframework.webflow</groupId>
        <artifactId>org.springframework.binding</artifactId>
        <version>x.y.z.BUILD-SNAPSHOT</version>
    </dependency>

    <dependency>
        <groupId>org.springframework.webflow</groupId>
        <artifactId>org.springframework.js</artifactId>
        <version>x.y.z.BUILD-SNAPSHOT</version>
    </dependency>

    <dependency>
        <groupId>org.springframework.webflow</groupId>
        <artifactId>org.springframework.webflow</artifactId>
        <version>x.y.z.BUILD-SNAPSHOT</version>
    </dependency>

And if using JavaServerFaces:

    <dependency>
        <groupId>org.springframework.webflow</groupId>
        <artifactId>org.springframework.faces</artifactId>
        <version>x.y.z.BUILD-SNAPSHOT</version>
    </dependency>

### Accessing snapshot distribution archives

Get the snapshot zip with the most recent CI build number from the Web Flow snapshot download area.

Prev | Up | Next
1.6. How to access Web Flow artifacts from the SpringSource Bundle Repository | Home | 2. Defining Flows