Skip to content

Commit

Permalink
DATACMNS-762 - Polished section on dependencies in reference document…
Browse files Browse the repository at this point in the history
…ation.

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.
  • Loading branch information
odrotbohm committed Sep 3, 2015
1 parent 167b52f commit 8992cc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/main/asciidoc/dependencies.adoc
Expand Up @@ -21,17 +21,16 @@ Due to different inception dates of individual Spring Data modules, most of them
----
====

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:
[[dependencies.train-names]]
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:

* `BUILD-SNAPSHOT` - current snapshots
* `M1`, `M2` etc. - milestones
* `RC1`, `RC2` etc. - release candidates
* `RELEASE` - GA release
* `SR1`, `SR2` etc. - service releases

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.
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.

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

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.
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.

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

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.

1 change: 0 additions & 1 deletion src/main/asciidoc/repositories.adoc
@@ -1,6 +1,5 @@
:spring-framework-docs: http://docs.spring.io/spring/docs/current/spring-framework-reference/html


[[repositories]]
= Working with Spring Data Repositories

Expand Down

0 comments on commit 8992cc8

Please sign in to comment.