Skip to content

Commit 954e6b0

Browse files
committed
DATACMNS-762 - Polished section on dependencies in reference documentation.
Linked back to the release train names from the section on dependency management with Boot for clarity. Added additional line break to avoid the first line in the repositories.adoc being interpreted as text.
1 parent 835a5a3 commit 954e6b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/asciidoc/dependencies.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,16 @@ Due to different inception dates of individual Spring Data modules, most of them
2121
----
2222
====
2323

24-
The current release train version is {releasetrainVersion}. The train names are ascending alphabetically and currently available ones 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:
24+
[[dependencies.train-names]]
25+
The current release train version is `{releasetrainVersion}. The train names are ascending alphabetically and currently available ones 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:
2526

2627
* `BUILD-SNAPSHOT` - current snapshots
2728
* `M1`, `M2` etc. - milestones
2829
* `RC1`, `RC2` etc. - release candidates
2930
* `RELEASE` - GA release
3031
* `SR1`, `SR2` etc. - service releases
3132

32-
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].
33-
34-
If that's in place declare the Spring Data modules you'd like to use without a version in the `<dependencies />` block.
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]. If that's in place declare the Spring Data modules you'd like to use without a version in the `<dependencies />` block.
3534

3635
.Declaring a dependency to a Spring Data module
3736
====
@@ -49,9 +48,10 @@ If that's in place declare the Spring Data modules you'd like to use without a v
4948
[[dependencies.spring-boot]]
5049
== Dependency management with Spring Boot
5150

52-
Spring Boot already selects a very recent version of Spring Data modules for you. In case you want to upgrade to a newer version nonetheless, simply configure the property `spring-data-releasetrain.version` to the train name and iteration you'd like to use.
51+
Spring Boot already selects a very recent version of Spring Data modules for you. In case you want to upgrade to a newer version nonetheless, simply configure the property `spring-data-releasetrain.version` to the <<dependencies.train-names,train name and iteration>> you'd like to use.
5352

5453
[[dependencies.spring-framework]]
5554
== Spring Framework
5655

5756
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+

0 commit comments

Comments
 (0)