Update README Dependency Management Section

- Use pom
- Update versions
- Use aggregate pom for release
- Polish repository name
This commit is contained in:
Rob Winch
2014-11-26 08:48:50 -06:00
parent 5caf045ca0
commit 3254bc2bef

View File

@@ -9,8 +9,8 @@ Rob Winch
:idseparator: -
:idprefix:
:doctype: book
:spring-session-version: 1.0.0.BUILD-SNAPSHOT
:spring-session-milestone-version: 1.0.0.M1
:spring-session-snapshot-version: 1.0.0.BUILD-SNAPSHOT
:spring-session-version: 1.0.0.RC1
:spring-version: 4.1.0.RELEASE
Spring Session aims to provide a common infrastructure for managing sessions. This provides many <<benefits>> including:
@@ -42,7 +42,7 @@ If you want the latest milestone, ensure you have the following repository in yo
[source,xml]
----
<repository>
<id>spring-snapshot</id>
<id>spring-milestone</id>
<url>https://repo.spring.io/libs-milestone</url>
</repository>
----
@@ -54,29 +54,15 @@ Then ensure you have added the following dependencies:
----
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session</artifactId>
<version>{spring-session-milestone-version}</version>
<artifactId>spring-session-data-redis</artifactId>
<version>{spring-session-version}</version>
<type>pom<type>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>{spring-version}</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-redis</artifactId>
<version>1.3.0.RELEASE</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.4.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.2</version>
</dependency>
----
**Using the latest Snapshot in Maven**
@@ -99,7 +85,8 @@ Then ensure you have added the following dependencies:
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
<version>{spring-session-version}</version>
<version>{spring-session-snapshot-version}</version>
<type>pom<type>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
@@ -127,7 +114,7 @@ Then ensure you have added the following dependencies:
[subs="verbatim,attributes"]
----
dependencies {
compile "org.springframework.session:spring-session:{spring-session-milestone-version}",
compile "org.springframework.session:spring-session:{spring-session-version}:pom",
"org.springframework:spring-web:{spring-version}",
"org.springframework.data:spring-data-redis:1.3.0.RELEASE",
"redis.clients:jedis:2.4.1",
@@ -152,7 +139,7 @@ Then ensure you have added the following dependencies:
[subs="verbatim,attributes"]
----
dependencies {
compile "org.springframework.session:spring-session-data-redis:{spring-session-version}",
compile "org.springframework.session:spring-session-data-redis:{spring-session-snapshot-version}:pom",
"org.springframework:spring-web:{spring-version}"
}
----