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
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
[[dependencies]]
2
2
= Dependencies
3
3
4
-
Due to the different inception dates of individual Spring Data modules, most of them carry different major and minor version numbers. The easiest way to find compatible ones is to rely on the Spring Data Release Train BOM that we ship with the compatible versions defined. In a Maven project, you would declare this dependency in the `<dependencyManagement />` section of your POM, as follows:
4
+
Due to the different inception dates of individual Spring Data modules, most of them carry different major and minor version numbers. The easiest way to find compatible ones is to rely on the Spring Data Release Train BOM that we ship with the compatible versions defined. In a Maven project, you would declare this dependency in the `<dependencyManagement />` section of your POM as follows:
5
5
6
6
.Using the Spring Data release train BOM
7
7
====
@@ -30,7 +30,7 @@ The version name follows `${calver}` for GA releases and service releases and th
30
30
* `M1`, `M2`, and so on: Milestones
31
31
* `RC1`, `RC2`, and so on: Release candidates
32
32
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:
33
+
You can find a working example of using the BOMs 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
35
35
.Declaring a dependency to a Spring Data module
36
36
====
@@ -48,9 +48,10 @@ 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-version,train version 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, set
52
+
the `spring-data-releasetrain.version` property to the <<dependencies.train-version,train version and iteration>> you would like to use.
52
53
53
54
[[dependencies.spring-framework]]
54
55
== Spring Framework
55
56
56
-
The current version of Spring Data modules require Spring Framework in version {springVersion} or better. The modules might also work with an older bugfix version of that minor version. However, using the most recent version within that generation is highly recommended.
57
+
The current version of Spring Data modules require Spring Framework {springVersion} or better. The modules might also work with an older bugfix version of that minor version. However, using the most recent version within that generation is highly recommended.
0 commit comments