Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 50ea650 Apr 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle Upgrade Spring Session Data Geode to 2.2.0.M1 Apr 15, 2019
.gitignore Initial commit Jul 12, 2017
Jenkinsfile
LICENSE.txt URL Cleanup Mar 15, 2019
README.adoc Update readme Apr 15, 2019
build.gradle Upgrade spring-build-conventions to 0.0.25.RELEASE Apr 15, 2019
gradle.properties Next development version Apr 15, 2019
gradlew
gradlew.bat Upgrade Gradle to 5.3.1 Apr 15, 2019
settings.gradle
spring-session-bom.txt

README.adoc

Spring Session BOM

This repository contains Spring Session Maven Bill of Materials (BOM).

Using the BOM with Maven

With Maven, you need to import the BOM first:

<dependencyManagement>
	<dependencies>
		<dependency>
			<groupId>org.springframework.session</groupId>
			<artifactId>spring-session-bom</artifactId>
			<version>Corn-M1</version>
			<type>pom</type>
			<scope>import</scope>
		</dependency>
	</dependencies>
</dependencyManagement>

Notice the use of the <dependencyManagement> section and the import scope.

Next, add your dependencies to the project without a <version>:

<dependencies>
	<dependency>
		<groupId>org.springframework.session</groupId>
		<artifactId>spring-session-data-redis</artifactId>
	</dependency>
</dependencies>

Using the BOM with Gradle

Since Gradle has no first-class support for Maven BOMs, you can use Spring’s Dependency management plugin.

Apply the plugin from Gradle Plugin Portal (update the version if needed):

plugins {
	id 'io.spring.dependency-management' version '1.0.7.RELEASE'
}

Then use it to import the BOM:

dependencyManagement {
	imports {
		mavenBom 'org.springframework.session:spring-session-bom:Corn-M1'
	}
}

Finally, add a dependency to the project without a version:

dependencies {
	compile 'org.springframework.session:spring-session-data-redis'
}

Spring Session Project Site

You can find the documentation, issue management, support, samples, and guides for using Spring Session at https://projects.spring.io/spring-session/.

License

Spring Session is Open Source software released under the Apache 2.0 license.

You can’t perform that action at this time.