Skip to content

Downloading Spring Web Flow Artifacts

Rossen Stoyanchev edited this page Mar 30, 2023 · 3 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-resources - a small JavaScript framework including the Dojo Toolkit

  4. 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.5.1.RELEASE</version>
</dependency>
<dependency>
    <groupId>org.springframework.webflow</groupId>
    <artifactId>spring-faces</artifactId>
    <version>2.5.1.RELEASE</version>
</dependency>

Snapshot, Milestone, and RC (Spring Repository)

Snapshot, Milestone, and Release Candidate (RC) versions are published to the Spring repository only, while final releases are published to both Maven central and to the Spring 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>spring.snapshots</id>
        <name>Spring Snapshot Repository</name>
        <url>http://repo.spring.io/snapshot</url>
    </repository>
</repositories>

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

Milestone Versions

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

<repositories>
    ...
    <repository>
        <id>spring.milestone</id>
        <name>Spring Milestone Repository</name>
        <url>http://repo.spring.io/milestone</url>
    </repository>
</repositories>

<dependencies>
    ...
    <dependency>
        <groupId>org.springframework.webflow</groupId>
        <artifactId>spring-webflow</artifactId>
        <version>3.0.0-M1</version>
    </dependency>
<dependencies>