From 9eeb1df4ba274d8a081f00d05549fd1ab5e1b907 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 20 Jan 2016 11:38:28 +0100 Subject: [PATCH] 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 --- initializr-service/application.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/initializr-service/application.yml b/initializr-service/application.yml index ed10b17d..6e4640c7 100644 --- a/initializr-service/application.yml +++ b/initializr-service/application.yml @@ -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: