Eleftheria Stein 0571fa1e18 Upgrade Spring Session core modules to 2.4.2
Closes gh-153
2021-01-20 10:41:17 +01:00
2017-07-12 16:24:00 +02:00
2020-10-29 08:40:50 +01:00
2020-03-13 14:08:15 -04:00
2020-11-09 17:45:46 +01:00
2019-09-12 22:36:06 +02:00
2019-06-20 11:56:25 +02:00
2019-05-27 22:34:32 +02:00
2019-03-14 20:40:39 -05:00
2020-05-15 09:39:45 -04:00
2017-07-12 16:24:00 +02:00
2019-06-20 11:54:03 +02:00

:release-version: Dragonfruit-RELEASE
:dependency-management-plugin-version: 1.0.8.RELEASE
= 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:

[source,xml,subs="normal"]
----
<dependencyManagement>
	<dependencies>
		<dependency>
			<groupId>org.springframework.session</groupId>
			<artifactId>spring-session-bom</artifactId>
			<version>{release-version}</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>`:

[source,xml]
----
<dependencies>
	<dependency>
		<groupId>org.springframework.session</groupId>
		<artifactId>spring-session-data-redis</artifactId>
	</dependency>
</dependencies>
----

== Using the BOM with Gradle

With Gradle's native support for Maven BOMs, import the BOM using:

[source,gradle,subs="normal"]
----
dependencies {
	implementation platform('org.springframework.session:spring-session-bom:{release-version}')
}
----

Alternatively, you can use Spring's https://plugins.gradle.org/plugin/io.spring.dependency-management[Dependency management plugin].

Apply the plugin from Gradle Plugin Portal:

[source,gradle,subs="normal"]
----
plugins {
	id 'io.spring.dependency-management' version '{dependency-management-plugin-version}'
}
----

Then use it to import the BOM:

[source,gradle,subs="normal"]
----
dependencyManagement {
	imports {
		mavenBom 'org.springframework.session:spring-session-bom:{release-version}'
	}
}
----

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

[source,gradle]
----
dependencies {
	implementation 'org.springframework.session:spring-session-data-redis'
}
----

== Code of Conduct

This project adheres to the Contributor Covenant link:CODE_OF_CONDUCT.adoc[code of conduct].
By participating, you  are expected to uphold this code. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

== 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 https://www.apache.org/licenses/LICENSE-2.0.html[Apache 2.0 license].
Description
No description provided
Readme 982 KiB
Languages
AsciiDoc 100%