Polish "Upgrade to WSS4J 4.0.0"

See gh-1429
This commit is contained in:
Stéphane Nicoll
2025-03-10 16:29:28 +01:00
parent 409671b669
commit 08995d9773
2 changed files with 9 additions and 1 deletions

View File

@@ -43,6 +43,14 @@ class JavaBasePluginConventions {
private void configureRepositories(Project project) {
project.getRepositories().mavenCentral();
project.getRepositories().maven((repository) -> {
repository.setName("Shibboleth Releases");
repository.setUrl("https://build.shibboleth.net/nexus/content/repositories/releases");
repository.content((content) -> {
content.includeGroup("org.opensaml");
content.includeGroup("net.shibboleth");
});
});
String version = project.getVersion().toString();
if (version.contains("-")) {
project.getRepositories().maven((repository) -> {

View File

@@ -34,7 +34,7 @@ dependencies {
api("org.apache.commons:commons-collections4:4.4")
api("org.apache.httpcomponents.client5:httpclient5:5.2.3")
api("org.apache.httpcomponents:httpclient:4.5.14")
api("org.apache.santuario:xmlsec:3.0.4")
api("org.apache.santuario:xmlsec:4.0.3")
api("org.apache.wss4j:wss4j-ws-security-dom:4.0.0")
api("org.apache.ws.xmlschema:xmlschema-core:2.3.1")
api("org.aspectj:aspectjrt:1.9.22")