# 1. 导言 ## 1.1.这本指南涵盖的内容 本指南涵盖了 Spring Web 流程的所有方面。它涵盖了在最终用户应用程序中实现流以及使用功能集的工作。它还包括扩展框架和整体架构模型。 ## 1.2.运行 Web 流需要什么 Java1.8 或更高。 Spring 5.0 或更高。 ## 1.3.资源 你可以使用指定的标记在 StackOverflow 上提出问题并进行交互,请参见[Spring at StackOverflow](https://spring.io/questions)。 使用[Spring Issue Tracker](https://jira.spring.io)报告错误并发出请求。 提交拉请求并使用源代码,请参见[GitHub 上的 Web 流](https://github.com/spring-projects/spring-webflow)。 ## 1.4.如何从 Maven Central 访问 Web 流工件 Web 流分布中的每个 JAR 在[Maven Central Repository](https://search.maven.org)中可用。如果你已经使用 Maven 作为你的 Web 开发项目的构建系统,这将使你能够轻松地将 Web 流集成到你的应用程序中。 要从 Maven Central 访问 Web Flow JAR,请在 POM 中声明以下依赖项: ``` org.springframework.webflow spring-webflow x.y.z.RELEASE ``` 如果使用 JavaServer Faces,请在 POM 中声明以下依赖项(包括传递依赖项“ Spring-binding”、“ Spring-webflow”): ``` org.springframework.webflow spring-faces x.y.z.RELEASE ``` ## 1.5.如何访问夜间版本和里程碑版本 可以使用 Maven 获得 Web 流开发分支的夜间快照。这些快照构建对于在下一个版本发布之前测试你所依赖的修补程序非常有用,并且为你提供了一种方便的方式来提供有关修补程序是否满足你的需求的反馈。 ### 1.5.1.使用 Maven 访问快照和里程碑 对于里程碑和快照,你需要使用 SpringSource 存储库。将以下存储库添加到你的 Maven POM.xml 中: ``` spring Spring Repository http://repo.spring.io/snapshot ``` 然后声明以下依赖项: ``` org.springframework.webflow spring-webflow x.y.z.BUILD-SNAPSHOT ``` 如果使用 JSF: ``` org.springframework.webflow spring-faces x.y.z.BUILD-SNAPSHOT ```