You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/dependencies.adoc
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Due to the different inception dates of individual Spring Data modules, most of
11
11
<dependencies>
12
12
<dependency>
13
13
<groupId>org.springframework.data</groupId>
14
-
<artifactId>spring-data-releasetrain</artifactId>
14
+
<artifactId>spring-data-bom</artifactId>
15
15
<version>{releasetrainVersion}</version>
16
16
<scope>import</scope>
17
17
<type>pom</type>
@@ -22,13 +22,13 @@ Due to the different inception dates of individual Spring Data modules, most of
22
22
====
23
23
24
24
[[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:
26
28
27
-
* `BUILD-SNAPSHOT`: Current snapshots
29
+
* `SNAPSHOT`: Current snapshots
28
30
* `M1`, `M2`, and so on: Milestones
29
31
* `RC1`, `RC2`, and so on: Release candidates
30
-
* `RELEASE`: GA release
31
-
* `SR1`, `SR2`, and so on: Service releases
32
32
33
33
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:
34
34
@@ -48,7 +48,7 @@ A working example of using the BOMs can be found in our https://github.com/sprin
48
48
[[dependencies.spring-boot]]
49
49
== Dependency Management with Spring Boot
50
50
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.
0 commit comments