mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-12 21:33:30 +00:00
Remove spring-framework-bom Manual Insertion
spring-io-plugin can do this now Issue gh-8271
This commit is contained in:
parent
2ad73af130
commit
ecac6cdfc1
@ -122,6 +122,9 @@ configure(coreModuleProjects) {
|
||||
}
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom("org.springframework:spring-framework-bom:${springVersion}")
|
||||
}
|
||||
springIoTestRuntime {
|
||||
imports {
|
||||
mavenBom("io.spring.platform:platform-bom:${springIoVersion}") {
|
||||
|
@ -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…
x
Reference in New Issue
Block a user