Skip to content

Commit 7db7e1b

Browse files
committed
DATACMNS-1730 - Update releasetrain reference documentation with spring-data-bom artifact.
1 parent 4be5aae commit 7db7e1b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/asciidoc/dependencies.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Due to the different inception dates of individual Spring Data modules, most of
1111
<dependencies>
1212
<dependency>
1313
<groupId>org.springframework.data</groupId>
14-
<artifactId>spring-data-releasetrain</artifactId>
14+
<artifactId>spring-data-bom</artifactId>
1515
<version>{releasetrainVersion}</version>
1616
<scope>import</scope>
1717
<type>pom</type>
@@ -22,13 +22,13 @@ Due to the different inception dates of individual Spring Data modules, most of
2222
====
2323

2424
[[dependencies.train-names]]
25-
The current release train version is `{releasetrainVersion}`. The train names ascend alphabetically and the currently available trains are listed https://github.com/spring-projects/spring-data-commons/wiki/Release-planning[here]. The version name follows the following pattern: `${name}-${release}`, where release can be one of the following:
25+
[[dependencies.train-version]]
26+
The current release train version is `{releasetrainVersion}`. The train version uses https://calver.org/[calver] with the pattern `YYYY.MINOR.MICRO`.
27+
The version name follows `${calver}` for GA releases and service releases and the following pattern for all other versions: `${calver}-${modifier}`, where `modifier` can be one of the following:
2628

27-
* `BUILD-SNAPSHOT`: Current snapshots
29+
* `SNAPSHOT`: Current snapshots
2830
* `M1`, `M2`, and so on: Milestones
2931
* `RC1`, `RC2`, and so on: Release candidates
30-
* `RELEASE`: GA release
31-
* `SR1`, `SR2`, and so on: Service releases
3232

3333
A working example of using the BOMs can be found in our https://github.com/spring-projects/spring-data-examples/tree/master/bom[Spring Data examples repository]. With that in place, you can declare the Spring Data modules you would like to use without a version in the `<dependencies />` block, as follows:
3434

@@ -48,7 +48,7 @@ A working example of using the BOMs can be found in our https://github.com/sprin
4848
[[dependencies.spring-boot]]
4949
== Dependency Management with Spring Boot
5050

51-
Spring Boot selects a recent version of Spring Data modules for you. If you still want to upgrade to a newer version, configure the property `spring-data-releasetrain.version` to the <<dependencies.train-names,train name and iteration>> you would like to use.
51+
Spring Boot selects a recent version of Spring Data modules for you. If you still want to upgrade to a newer version, configure the property `spring-data-releasetrain.version` to the <<dependencies.train-version,train version and iteration>> you would like to use.
5252

5353
[[dependencies.spring-framework]]
5454
== Spring Framework

0 commit comments

Comments
 (0)