introduction.md 2.7 KB
Newer Older
茶陵後's avatar
茶陵後 已提交
1 2
# 1. Introduction

茶陵後's avatar
茶陵後 已提交
3
## 1.1. What this guide covers
茶陵後's avatar
茶陵後 已提交
4 5 6 7 8

This guide covers all aspects of Spring Web Flow.
It covers implementing flows in end-user applications and working with the feature set.
It also covers extending the framework and the overall architectural model.

茶陵後's avatar
茶陵後 已提交
9
## 1.2. What Web Flow requires to run
茶陵後's avatar
茶陵後 已提交
10 11 12 13 14

Java 1.8 or higher.

Spring 5.0 or higher.

茶陵後's avatar
茶陵後 已提交
15
## 1.3. Resources
茶陵後's avatar
茶陵後 已提交
16 17 18 19 20 21 22 23 24

You can ask questions and interact on StackOverflow using the designated tags,
see [Spring at StackOverflow](https://spring.io/questions).

Report bugs and make requests using the[Spring Issue Tracker](https://jira.spring.io).

Submit pull requests and work with the source code ,
see [Web Flow on Github](https://github.com/spring-projects/spring-webflow).

茶陵後's avatar
茶陵後 已提交
25
## 1.4. How to access Web Flow artifacts from Maven Central
茶陵後's avatar
茶陵後 已提交
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55

Each jar in the Web Flow distribution is available in the [Maven Central Repository](https://search.maven.org).
This allows you to easily integrate Web Flow into your application if you are already using Maven as the
build system for your web development project.

To access Web Flow jars from Maven Central, declare the following dependency in your pom:

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

		
```

If using JavaServer Faces, declare the following dependency in your pom
(includes transitive dependencies "spring-binding", "spring-webflow"):

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

		
```

茶陵後's avatar
茶陵後 已提交
56
## 1.5. How to access nightly builds and milestone releases
茶陵後's avatar
茶陵後 已提交
57 58 59 60

Nightly snapshots of Web Flow development branches are available using Maven.
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.

茶陵後's avatar
茶陵後 已提交
61
### 1.5.1. Accessing snapshots and milestones with Maven
茶陵後's avatar
茶陵後 已提交
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95

For milestones and snapshots you'll need to use the SpringSource repository.
Add the following repository to your Maven pom.xml:

```
<repository>
    <id>spring</id>
    <name>Spring Repository</name>
    <url>http://repo.spring.io/snapshot</url>
</repository>
			
```

Then declare the following dependencies:

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

And if using JSF:

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