Use spring-cloud-dependencies

Previously, Spring Initializr was refering to
`spring-cloud-starter-parent` as the BOM source for any cloud-related
dependencies.

This pom actually inherits from a specific version of Spring Boot and
brings all its dependency management. If the chosen boot version and the
one that the cloud bom brings do not match, inconsistent versions can
appear in the project.

The underlying issue was fixed by providing a new BOM that only provides
dependency management for the cloud-related bits.

Closes gh-116
This commit is contained in:
Stephane Nicoll 2016-01-20 11:38:28 +01:00
parent 1d42661e11
commit 9eeb1df4ba

View File

@ -21,14 +21,11 @@ initializr:
version: 7.5.5
cloud-bom:
groupId: org.springframework.cloud
artifactId: spring-cloud-starter-parent
artifactId: spring-cloud-dependencies
mappings:
- versionRange: "[1.2.3.RELEASE,1.3.0.M1)"
version: Angel.SR4
- versionRange: "[1.3.0.M2,1.3.2.RELEASE]"
version: Brixton.M4
repositories: spring-snapshots,spring-milestones
- versionRange: 1.3.3.BUILD-SNAPSHOT
version: Angel.SR6
- versionRange: "1.3.0.M2"
version: Brixton.BUILD-SNAPSHOT
repositories: spring-snapshots,spring-milestones
dependencies: