Parameterize references to project version

SWF-1707
This commit is contained in:
Rossen Stoyanchev
2017-07-31 14:07:20 +02:00
parent 9595f7f83c
commit ec300fc0dc
3 changed files with 11 additions and 10 deletions

View File

@@ -297,6 +297,7 @@ configure(rootProject) {
include "readme.txt"
include "license.txt"
into "${baseDir}"
expand(version: project.version)
}
from(zipTree(docsZip.archivePath)) {

18
src/dist/readme.txt vendored
View File

@@ -1,5 +1,5 @@
SPRING WEB FLOW 2.5.0
----------------------
SPRING WEB FLOW ${version}
--------------------------
http://www.springframework.org/webflow
1. INTRODUCTION
@@ -56,13 +56,13 @@ via transitive dependencies):
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>org.springframework.binding</artifactId>
<version>x.y.z.RELEASE</version>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>org.springframework.webflow</artifactId>
<version>x.y.z.RELEASE</version>
<version>${version}</version>
</dependency>
If using JSF all you need to include is:
@@ -70,7 +70,7 @@ If using JSF all you need to include is:
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>org.springframework.faces</artifactId>
<version>x.y.z.RELEASE</version>
<version>${version}</version>
</dependency>
To access jars using Ivy, add the following repositories to your Ivy config:
@@ -87,13 +87,13 @@ To access jars using Ivy, add the following repositories to your Ivy config:
Then declare the following dependencies in your ivy.xml:
<dependency org="org.springframework.webflow" name="org.springframework.binding" rev="x.y.z.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.js" rev="x.y.z.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.webflow" rev="x.y.z.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.binding" rev="${version}" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.js" rev="${version}" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.webflow" rev="${version}" conf="compile->runtime" />
If using JavaServerFaces:
<dependency org="org.springframework.webflow" name="org.springframework.faces" rev="x.y.z.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.faces" rev="${version}" conf="compile->runtime" />
For more information see the reference documentation and the SpringSource Repository FAQ:
https://github.com/spring-projects/spring-framework/wiki/Spring-repository-FAQ

View File

@@ -9,7 +9,7 @@
<title>Spring Web Flow Reference Guide</title>
<titleabbrev>Spring Web Flow</titleabbrev>
<productname>Spring Web Flow</productname>
<releaseinfo>Version 2.5.0</releaseinfo>
<releaseinfo>Version ${version}</releaseinfo>
<pubdate></pubdate>
<authorgroup>
<author>