Skip to content

Commit

Permalink
Parameterize references to project version
Browse files Browse the repository at this point in the history
SWF-1707
  • Loading branch information
rstoyanchev committed Jul 31, 2017
1 parent 75c9354 commit c777ff8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ configure(rootProject) {
include "readme.txt"
include "license.txt"
into "${baseDir}"
expand(version: project.version)
}

from(zipTree(docsZip.archivePath)) {
Expand Down
20 changes: 10 additions & 10 deletions src/dist/readme.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SPRING WEB FLOW 2.4.6
----------------------
SPRING WEB FLOW ${version}
---------------
http://www.springframework.org/webflow

1. INTRODUCTION
Expand Down Expand Up @@ -56,27 +56,27 @@ 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:

<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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/reference/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c777ff8

Please sign in to comment.