Skip to content

Commit ecac6cd

Browse files
committed
Remove spring-framework-bom Manual Insertion
spring-io-plugin can do this now Issue gh-8271
1 parent 2ad73af commit ecac6cd

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ configure(coreModuleProjects) {
122122
}
123123

124124
dependencyManagement {
125+
imports {
126+
mavenBom("org.springframework:spring-framework-bom:${springVersion}")
127+
}
125128
springIoTestRuntime {
126129
imports {
127130
mavenBom("io.spring.platform:platform-bom:${springIoVersion}") {

gradle/maven-deployment.gradle

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,6 @@ def customizePom(pom, gradleProject) {
7777
}
7878
}
7979
// Exclude spring-framework-bom for sample Boot projects since spring-boot-starter-parent imports spring-framework-bom
80-
if(!gradleProject.name.endsWith('-bom') && !sampleBootProjects.contains(gradleProject)) {
81-
dependencyManagement {
82-
dependencies {
83-
dependency {
84-
groupId 'org.springframework'
85-
artifactId 'spring-framework-bom'
86-
version project.springVersion
87-
type 'pom'
88-
scope 'import'
89-
}
90-
}
91-
}
92-
}
9380
if(isWar) {
9481
properties {
9582
'm2eclipse.wtp.contextRoot' '/' + project.war.baseName

0 commit comments

Comments
 (0)