diff --git a/bom/README.adoc b/bom/README.adoc index b1486422..7e0f32eb 100644 --- a/bom/README.adoc +++ b/bom/README.adoc @@ -1,17 +1,17 @@ = Spring Data - Release Train BOM example -This project shows the usage of the Spring Data release train in a non-Spring-Boot project with both Maven and Gradle. +This project shows the usage of the Spring Data BOM in a non-Spring-Boot project with both Maven and Gradle. == Properties -In both Maven and Gradle a couple of properties are used to define the versions of Spring Framework and Spring Data to use. For Spring Framework a plain version is used. For Spring Data we refer to a particular revision of a release train. The naming of Spring Data releases uses the following conventions: +In both Maven and Gradle a couple of properties are used to define the versions of Spring Framework and Spring Data to use. For Spring Framework a plain version is used. For Spring Data we refer to the https://spring.io/blog/2020/04/30/updates-to-spring-versions[calver revision] of the BOM. The naming of Spring Data releases uses the following conventions: -** `${release-train}-M1` -> Milestones +** `${calver-version}-M1` -> Milestones ** … -** `${release-train}-RC1` -> Release candidate +** `${calver-version}-RC1` -> Release candidate ** … -** `${release-train}-RELEASE` -> GA version -** `${release-train}-SR1` -> Services release (bugfixes) for that release train +** `${calver-version}` -> GA version +** `${calver-version}` -> Services release (bugfixes) for that release train == Maven diff --git a/bom/build.gradle b/bom/build.gradle index 3b66459a..eeef658f 100644 --- a/bom/build.gradle +++ b/bom/build.gradle @@ -8,14 +8,14 @@ repositories { } ext { - springVersion = '5.1.5.RELEASE' - springDataVersion = 'Lovelace-SR5' + springVersion = '5.3.9' + springDataVersion = '2021.0.4' } dependencyManagement { imports { mavenBom "org.springframework:spring-framework-bom:${springVersion}" - mavenBom "org.springframework.data:spring-data-releasetrain:${springDataVersion}" + mavenBom "org.springframework.data:spring-data-bom:${springDataVersion}" } } diff --git a/bom/pom.xml b/bom/pom.xml index 80bfd2c4..d490c66f 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -9,8 +9,8 @@ Spring Data - Using the BOM for dependency management - 5.1.5.RELEASE - Lovelace-SR5 + 5.3.9 + 2021.0.4 @@ -26,7 +26,7 @@ org.springframework.data - spring-data-releasetrain + spring-data-bom ${spring-data.version} import pom