Remove spring-framework-bom Manual Insertion

spring-io-plugin can do this now

Issue gh-8271
This commit is contained in:
Josh Cummings 2020-04-01 09:21:20 -06:00
parent 2ad73af130
commit ecac6cdfc1
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
2 changed files with 3 additions and 13 deletions

View File

@ -122,6 +122,9 @@ configure(coreModuleProjects) {
}
dependencyManagement {
imports {
mavenBom("org.springframework:spring-framework-bom:${springVersion}")
}
springIoTestRuntime {
imports {
mavenBom("io.spring.platform:platform-bom:${springIoVersion}") {

View File

@ -77,19 +77,6 @@ def customizePom(pom, gradleProject) {
}
}
// Exclude spring-framework-bom for sample Boot projects since spring-boot-starter-parent imports spring-framework-bom
if(!gradleProject.name.endsWith('-bom') && !sampleBootProjects.contains(gradleProject)) {
dependencyManagement {
dependencies {
dependency {
groupId 'org.springframework'
artifactId 'spring-framework-bom'
version project.springVersion
type 'pom'
scope 'import'
}
}
}
}
if(isWar) {
properties {
'm2eclipse.wtp.contextRoot' '/' + project.war.baseName