Downloading Spring Web Flow Artifacts

rstoyanchev edited this page Jan 6, 2012 · 2 revisions

Downloading Spring Web Flow Artifacts

Introduction

Spring Web Flow consists of the following artifacts:

  1. spring-webflow - the core Spring Web Flow engine

  2. spring-binding - data binding and mapping mechanisms

  3. spring-js - a facility for optimized serving of resources and for working with Ajax requests

  4. spring-js-resources - a small JavaScript framework including the Dojo Toolkit

  5. spring-faces - the Spring Web Flow programming model for JSF

Spring MVC applications should include the spring-webflow artifact, which in turn depends on spring-binding and spring-js. If using Maven or Ivy the latter are automatically added as transitive dependencies.

JSF applications should include spring-faces, which in turn depends on spring-webflow, spring-binding and spring-js.

Resolving Dependencies via Maven

Final Releases (Maven Central)

Final releases of Spring Web Flow are published to Maven Central. Simply add one of the following to your pom.xml substituting the version as necessary:

<dependency>
    <groupId>org.springframework.webflow</groupId>
    <artifactId>spring-webflow</artifactId>
    <version>2.3.0.RELEASE</version>
</dependency>
<dependency>
    <groupId>org.springframework.webflow</groupId>
    <artifactId>spring-faces</artifactId>
    <version>2.3.0.RELEASE</version>
</dependency>

Snapshot, Milestone, and RC (SpringSource Repository)

Snapshot, Milestone, and Release Candidate (RC) versions are published to the SpringSource repository only, while final releases are published to both Maven central and to the SpringSource repository.

Snapshot Versions

For the latest snapshots in a specific version branch, use the following configuration in your pom.xml (substitute <artifactId> and <version> as necessary):

<repositories>
    ...
    <repository>
        <id>repository.springsource.snapshot</id>
        <name>SpringSource Snapshot Repository</name>
        <url>http://repo.springsource.org/snapshot</url>
    </repository>
</repositories>

<dependencies>
    ...
    <dependency>
        <groupId>org.springframework.webflow</groupId>
        <artifactId>spring-webflow</artifactId>
        <version>2.3.0.BUILD-SNAPSHOT</version>
    </dependency>
<dependencies>

Milestone Versions

For milestone and RC versions, use the following (substitute <artifactId> and <version> as necessary):

<repositories>
    ...
    <repository>
        <id>repository.springsource.milestone</id>
        <name>SpringSource Milestone Repository</name>
        <url>http://repo.springsource.org/milestone</url>
    </repository>
</repositories>

<dependencies>
    ...
    <dependency>
        <groupId>org.springframework.webflow</groupId>
        <artifactId>spring-webflow</artifactId>
        <version>2.3.0.BUILD-SNAPSHOT</version>
    </dependency>
<dependencies>

Manually Downloading

If you are not using Maven, you can download the Spring Web Flow distribution from the SpringSource community download page. The distribution contains all source and binary jar files, as well as Javadoc, reference documentation, and samples, but not external dependencies!