1
0
mirror of synced 2026-08-04 09:17:02 +00:00

Support Testing Against Snapshot Spring LDAP Versions

Adds an opt-in override to spring-security-dependencies so it can be
built against a specific Spring LDAP version instead of whatever's
declared in the version catalog, matching the existing pattern for
Spring Framework/Reactor/Spring Data/Micrometer. Passing
-PisOverrideVersionCatalog=true -PspringLdapVersion=X takes precedence
over the catalog. Default behavior (no properties passed) is unchanged.

Closes gh-19481

Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
This commit is contained in:
Josh Cummings
2026-07-31 12:31:17 -06:00
parent d2366650ec
commit c5b1f78118
+5 -1
View File
@@ -75,7 +75,11 @@ dependencies {
api libs.org.skyscreamer.jsonassert
api libs.org.slf4j.log4j.over.slf4j
api libs.org.slf4j.slf4j.api
api libs.org.springframework.ldap.spring.ldap.core
if (project.hasProperty("isOverrideVersionCatalog") && project.hasProperty("springLdapVersion")) {
api "org.springframework.ldap:spring-ldap-core:${springLdapVersion}"
} else {
api libs.org.springframework.ldap.spring.ldap.core
}
api libs.org.synchronoss.cloud.nio.multipart.parser
api libs.org.apache.maven.resolver.maven.resolver.connector.basic
api libs.org.apache.maven.resolver.maven.resolver.impl