Upgrade to OpenSAML 5

Remove OpenSAML 4 build overrides and add Shibboleth Releases maven
repository so we can build against OpenSAML 5.

Closes gh-46851
This commit is contained in:
Phillip Webb 2025-08-15 09:38:58 -07:00
parent a6d4458cad
commit 11c5a8c404
6 changed files with 9 additions and 41 deletions

View File

@ -32,6 +32,14 @@ subprojects {
repositories {
mavenCentral()
maven {
name "Shibboleth Releases"
url "https://build.shibboleth.net/nexus/content/repositories/releases"
content {
includeGroup "org.opensaml"
includeGroup "net.shibboleth"
}
}
spring.mavenRepositories()
}

View File

@ -24,14 +24,6 @@ plugins {
description = "Spring Boot Security SAML2"
configurations.all {
resolutionStrategy.eachDependency {
if (it.requested.group == 'org.opensaml') {
it.useVersion '4.0.1'
}
}
}
dependencies {
api(project(":core:spring-boot"))
api("org.springframework.security:spring-security-saml2-service-provider")

View File

@ -24,14 +24,6 @@ plugins {
description = "Spring Boot Security"
configurations.all {
resolutionStrategy.eachDependency {
if (it.requested.group == 'org.opensaml') {
it.useVersion '4.0.1'
}
}
}
dependencies {
api(project(":core:spring-boot"))
api("org.springframework.security:spring-security-config")

View File

@ -24,14 +24,6 @@ plugins {
description = "Spring Boot Test AutoConfigure"
configurations.all {
resolutionStrategy.eachDependency {
if (it.requested.group == 'org.opensaml') {
it.useVersion '4.0.1'
}
}
}
dependencies {
api(project(":core:spring-boot"))
api(project(":core:spring-boot-autoconfigure"))

View File

@ -20,14 +20,6 @@ plugins {
description = "Spring Boot SAML 2 service provider smoke test"
configurations.all {
resolutionStrategy.eachDependency {
if (it.requested.group == 'org.opensaml') {
it.useVersion '4.0.1'
}
}
}
dependencies {
implementation(project(":starter:spring-boot-starter-security-saml2"))
implementation(project(":starter:spring-boot-starter-webmvc"))

View File

@ -20,14 +20,6 @@ plugins {
description = "Starter for using Spring Security with SAML2"
configurations.all {
resolutionStrategy.eachDependency {
if (it.requested.group == 'org.opensaml') {
it.useVersion '4.0.1'
}
}
}
dependencies {
api(project(":starter:spring-boot-starter"))
api(project(":starter:spring-boot-starter-security"))