Create spring-session-data-redis pom
This commit is contained in:
24
README.adoc
24
README.adoc
@@ -97,7 +97,7 @@ Then ensure you have added the following dependencies:
|
|||||||
----
|
----
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.session</groupId>
|
<groupId>org.springframework.session</groupId>
|
||||||
<artifactId>spring-session</artifactId>
|
<artifactId>spring-session-data-redis</artifactId>
|
||||||
<version>{spring-session-version}</version>
|
<version>{spring-session-version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
@@ -105,21 +105,6 @@ Then ensure you have added the following dependencies:
|
|||||||
<artifactId>spring-web</artifactId>
|
<artifactId>spring-web</artifactId>
|
||||||
<version>{spring-version}</version>
|
<version>{spring-version}</version>
|
||||||
</dependency>
|
</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>
|
|
||||||
----
|
----
|
||||||
|
|
||||||
=== Building with Gradle
|
=== Building with Gradle
|
||||||
@@ -166,11 +151,8 @@ Then ensure you have added the following dependencies:
|
|||||||
[subs="verbatim,attributes"]
|
[subs="verbatim,attributes"]
|
||||||
----
|
----
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.springframework.session:spring-session:{spring-session-version}",
|
compile "org.springframework.session:spring-session-data-redis:{spring-session-version}",
|
||||||
"org.springframework:spring-web:{spring-version}",
|
"org.springframework:spring-web:{spring-version}"
|
||||||
"org.springframework.data:spring-data-redis:1.3.0.RELEASE",
|
|
||||||
"redis.clients:jedis:2.4.1",
|
|
||||||
"org.apache.commons:commons-pool2:2.2"
|
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ ext.groovyVersion = '2.0.5'
|
|||||||
ext.seleniumVersion = '2.33.0'
|
ext.seleniumVersion = '2.33.0'
|
||||||
ext.spockVersion = '0.7-groovy-2.0'
|
ext.spockVersion = '0.7-groovy-2.0'
|
||||||
ext.gebVersion = '0.9.0'
|
ext.gebVersion = '0.9.0'
|
||||||
|
ext.jedisVersion = '2.4.1'
|
||||||
|
ext.commonsPoolVersion = '2.2'
|
||||||
|
ext.embeddedRedisVersion = '0.2'
|
||||||
|
ext.springDataRedisVersion = '1.3.0.RELEASE'
|
||||||
|
|
||||||
ext.spockDependencies = [
|
ext.spockDependencies = [
|
||||||
dependencies.create("org.spockframework:spock-core:$spockVersion") {
|
dependencies.create("org.spockframework:spock-core:$spockVersion") {
|
||||||
|
|||||||
@@ -7,11 +7,8 @@ sonarRunner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':spring-session'),
|
compile project(':spring-session-data-redis'),
|
||||||
"org.springframework:spring-web:$springVersion",
|
"org.springframework:spring-web:$springVersion",
|
||||||
"org.springframework.data:spring-data-redis:1.3.0.RELEASE",
|
|
||||||
"redis.clients:jedis:2.4.1",
|
|
||||||
"org.apache.commons:commons-pool2:2.2",
|
|
||||||
"redis.embedded:embedded-redis:0.2",
|
"redis.embedded:embedded-redis:0.2",
|
||||||
jstlDependencies
|
jstlDependencies
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
rootProject.name = 'spring-session-build'
|
rootProject.name = 'spring-session-build'
|
||||||
|
|
||||||
include 'spring-session'
|
include 'spring-session'
|
||||||
include 'samples:web'
|
include 'spring-session-data-redis'
|
||||||
|
include 'samples:web'
|
||||||
|
|||||||
9
spring-session-data-redis/build.gradle
Normal file
9
spring-session-data-redis/build.gradle
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
apply from: JAVA_GRADLE
|
||||||
|
apply from: MAVEN_GRADLE
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compile project(':spring-session'),
|
||||||
|
"org.springframework.data:spring-data-redis:$springDataRedisVersion",
|
||||||
|
"redis.clients:jedis:$jedisVersion",
|
||||||
|
"org.apache.commons:commons-pool2:$commonsPoolVersion"
|
||||||
|
}
|
||||||
@@ -10,7 +10,7 @@ configurations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
optional "org.springframework.data:spring-data-redis:1.3.0.RELEASE"
|
optional "org.springframework.data:spring-data-redis:$springDataRedisVersion"
|
||||||
provided "javax.servlet:javax.servlet-api:$servletApiVersion"
|
provided "javax.servlet:javax.servlet-api:$servletApiVersion"
|
||||||
integrationTestCompile "redis.clients:jedis:2.4.1",
|
integrationTestCompile "redis.clients:jedis:2.4.1",
|
||||||
"org.apache.commons:commons-pool2:2.2",
|
"org.apache.commons:commons-pool2:2.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user