Parameterize references to project version

SWF-1707
This commit is contained in:
Rossen Stoyanchev
2017-07-31 13:59:31 +02:00
parent 75c93548dd
commit c777ff87c7
3 changed files with 12 additions and 11 deletions

View File

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

20
src/dist/readme.txt vendored
View File

@@ -1,5 +1,5 @@
SPRING WEB FLOW 2.4.6
----------------------
SPRING WEB FLOW ${version}
---------------
http://www.springframework.org/webflow
1. INTRODUCTION
@@ -56,19 +56,19 @@ via transitive dependencies):
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>org.springframework.binding</artifactId>
<version>2.4.6.RELEASE</version>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>org.springframework.js</artifactId>
<version>2.4.6.RELEASE</version>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>org.springframework.webflow</artifactId>
<version>2.4.6.RELEASE</version>
<version>${version}</version>
</dependency>
If using JSF all you need to include is:
@@ -76,7 +76,7 @@ If using JSF all you need to include is:
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>org.springframework.faces</artifactId>
<version>2.4.6.RELEASE</version>
<version>${version}</version>
</dependency>
To access jars using Ivy, add the following repositories to your Ivy config:
@@ -93,13 +93,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="2.4.6.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.js" rev="2.4.6.RELEASE" conf="compile->runtime" />
<dependency org="org.springframework.webflow" name="org.springframework.webflow" rev="2.4.6.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="2.4.6.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

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