Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreThis post was authored by Vedran Pavić
On behalf of the community I’m pleased to announce the release of Spring Session BOM Apple-SR1
. With the changes to Spring Session modules described in 2.0.0.RELEASE
announcement, the addition of bill of materials (BOM) module was a logical next step.
Note
The originally released Apple-RELEASE
contained a glitch in published BOM so make sure you use Apple-SR1
.
The BOM provides dependency management for Spring Session core modules (which include Data Redis, Hazelcast and JDBC) and Spring Session Data MongoDB. The following table provides an overview of all the included modules and their respective versions:
Module
Version
Spring Session Core
2.0.2.RELEASE
Spring Session Data MongoDB
2.0.2.RELEASE
Spring Session Data Redis
2.0.2.RELEASE
Spring Session Hazelcast
2.0.2.RELEASE
Spring Session JDBC
2.0.2.RELEASE
The 2.0.2.RELEASE
maintenance release contains a few bug fixes and dependency upgrades. You can find the complete details of the release in the changelog.
GitHub | Issues | Documentation
The 2.0.2.RELEASE
maintenance release contains Jackson serialization support improvements and dependency upgrades.
GitHub | Issues | Documentation
With Maven:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-bom</artifactId>
<version>Apple-SR1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
</dependency>
...
</dependencies>
With Gradle:
plugins {
id 'io.spring.dependency-management' version '1.0.4.RELEASE'
}
dependencyManagement {
imports {
mavenBom 'org.springframework.session:spring-session-bom:Apple-SR1'
}
}
dependencies {
compile 'org.springframework.session:spring-session-data-redis'
...
}