Browse Source

Remove spring-framework-bom Manual Insertion

spring-io-plugin can do this now

Issue gh-8271
pull/8714/head
Josh Cummings 6 years ago
parent
commit
ecac6cdfc1
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
  1. 3
      build.gradle
  2. 13
      gradle/maven-deployment.gradle

3
build.gradle

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

13
gradle/maven-deployment.gradle

@ -77,19 +77,6 @@ def customizePom(pom, gradleProject) { @@ -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

Loading…
Cancel
Save