From 2ed61dff9fa53b29e6dc6f1f61c543eea1c4d5b1 Mon Sep 17 00:00:00 2001 From: Pascal Zimmermann Date: Mon, 30 Nov 2026 17:50:49 +0100 Subject: [PATCH 1/2] build: Import kotlin-bom so Wire gets a Kotlin 2 stdlib wire-runtime-jvm 6.3.0 and okio-jvm 3.17.0 are built against kotlin-stdlib 2.0.21, but Spring Boot 3.2.1 pins it to 1.9.21. Import kotlin-bom 2.0.21 before spring-boot-dependencies so its version wins, the same way jackson-bom is handled. Also drop the junit-jupiter.version, mockito.version and snakeyaml.version properties. Nothing references them, so the versions actually used come from Spring Boot and the properties only make it look like they are pinned. --- pom.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 13a993893c..e684755a26 100644 --- a/pom.xml +++ b/pom.xml @@ -67,9 +67,7 @@ 2.21.7 0.10.2 0.12.7 - 5.14.4 - 5.8.0 - 2.4 + 2.0.21 6.3.0 3.0.2 2.44.4 @@ -86,6 +84,14 @@ pom import + + + org.jetbrains.kotlin + kotlin-bom + ${kotlin.version} + pom + import + org.springframework.boot spring-boot-dependencies From 94a0817202a7e233a916987592cd9cb6e1adecb2 Mon Sep 17 00:00:00 2001 From: Pascal Zimmermann Date: Mon, 30 Nov 2026 18:05:42 +0100 Subject: [PATCH 2/2] build: Replace the Spring Boot BOM with individual BOMs The library modules only need Spring Boot's dependency management for a handful of libraries, and it made our own version properties pointless because Boot decided the versions anyway. Import the BOMs for the libraries we actually use instead (Jackson, Netty, Reactor, Kotlin, JUnit, Mockito, SLF4J, Spring Framework) and pin the rest (Logback, byte-buddy, AssertJ, SnakeYAML). All versions are the ones Spring Boot 3.2.1 resolved before, so nothing changes except commons-codec, which now follows commons-compress (1.16.0 to 1.19.0). Netty, Kotlin and byte-buddy need to be managed explicitly, otherwise they would drop to older transitive versions. The library modules no longer use spring-boot-starter-test and spring-boot-starter-logging. They now depend on junit-jupiter, logback-classic and jul-to-slf4j directly. cloudfoundry-util uses SLF4J in main code, so it now declares slf4j-api instead of getting it from an optional logging starter. Spring Boot stays for integration-test, test-log-cache and test-service-broker. Only the starters are pinned, so these modules use the same library versions as the client itself. The spring-boot-maven-plugin had no version, so Maven picked the latest release; it is now pinned too. --- cloudfoundry-client-reactor/pom.xml | 8 +-- cloudfoundry-client/pom.xml | 4 +- cloudfoundry-operations/pom.xml | 8 +-- cloudfoundry-util/pom.xml | 14 +++-- pom.xml | 97 +++++++++++++++++++++++++++-- test-log-cache/pom.xml | 1 + test-service-broker/pom.xml | 1 + 7 files changed, 112 insertions(+), 21 deletions(-) diff --git a/cloudfoundry-client-reactor/pom.xml b/cloudfoundry-client-reactor/pom.xml index 2d0931852c..bb145cb189 100644 --- a/cloudfoundry-client-reactor/pom.xml +++ b/cloudfoundry-client-reactor/pom.xml @@ -85,8 +85,8 @@ 2.1.1 - org.springframework.boot - spring-boot-starter-test + org.junit.jupiter + junit-jupiter test @@ -145,8 +145,8 @@ - org.springframework.boot - spring-boot-starter-logging + org.slf4j + jul-to-slf4j test diff --git a/cloudfoundry-client/pom.xml b/cloudfoundry-client/pom.xml index 7034a5cec2..24f1cd3cf3 100644 --- a/cloudfoundry-client/pom.xml +++ b/cloudfoundry-client/pom.xml @@ -48,8 +48,8 @@ wire-runtime-jvm - org.springframework.boot - spring-boot-starter-test + org.junit.jupiter + junit-jupiter test diff --git a/cloudfoundry-operations/pom.xml b/cloudfoundry-operations/pom.xml index 1bc8c7cb1b..6babfca66f 100644 --- a/cloudfoundry-operations/pom.xml +++ b/cloudfoundry-operations/pom.xml @@ -48,8 +48,8 @@ test - org.springframework.boot - spring-boot-starter-test + org.junit.jupiter + junit-jupiter test @@ -94,8 +94,8 @@ slf4j-api - org.springframework.boot - spring-boot-starter-logging + ch.qos.logback + logback-classic test diff --git a/cloudfoundry-util/pom.xml b/cloudfoundry-util/pom.xml index 0e5f8ae76d..7241bebb3c 100644 --- a/cloudfoundry-util/pom.xml +++ b/cloudfoundry-util/pom.xml @@ -49,8 +49,8 @@ test - org.springframework.boot - spring-boot-starter-test + org.junit.jupiter + junit-jupiter test @@ -87,9 +87,13 @@ spring-core - org.springframework.boot - spring-boot-starter-logging - true + org.slf4j + slf4j-api + + + ch.qos.logback + logback-classic + test diff --git a/pom.xml b/pom.xml index e684755a26..5b53ef42ed 100644 --- a/pom.xml +++ b/pom.xml @@ -58,8 +58,10 @@ 17 UTF-8 - 3.2.1 + 3.2.1 + 3.24.2 + 1.14.10 1.28.0 3.20.0 1.3 @@ -67,7 +69,15 @@ 2.21.7 0.10.2 0.12.7 + 5.10.1 2.0.21 + 1.4.14 + 5.7.0 + 4.1.104.Final + 2023.0.1 + 2.0.9 + 2.2 + 6.1.2 6.3.0 3.0.2 2.44.4 @@ -76,7 +86,6 @@ - com.fasterxml.jackson jackson-bom @@ -84,7 +93,21 @@ pom import - + + io.netty + netty-bom + ${netty.version} + pom + import + + + io.projectreactor + reactor-bom + ${reactor-bom.version} + pom + import + + org.jetbrains.kotlin kotlin-bom @@ -93,13 +116,75 @@ import - org.springframework.boot - spring-boot-dependencies - ${dependencies.version} + org.junit + junit-bom + ${junit-jupiter.version} + pom + import + + + org.mockito + mockito-bom + ${mockito.version} + pom + import + + + org.slf4j + slf4j-bom + ${slf4j.version} + pom + import + + + org.springframework + spring-framework-bom + ${spring-framework.version} pom import + + ch.qos.logback + logback-classic + ${logback.version} + + + net.bytebuddy + byte-buddy + ${byte-buddy.version} + + + net.bytebuddy + byte-buddy-agent + ${byte-buddy.version} + + + org.assertj + assertj-core + ${assertj.version} + + + org.yaml + snakeyaml + ${snakeyaml.version} + + + + org.springframework.boot + spring-boot-devtools + ${spring-boot.version} + + + org.springframework.boot + spring-boot-starter-test + ${spring-boot.version} + + + org.springframework.boot + spring-boot-starter-web + ${spring-boot.version} + com.github.zafarkhaja java-semver diff --git a/test-log-cache/pom.xml b/test-log-cache/pom.xml index 65cc77ed82..bdc9f0d2a1 100644 --- a/test-log-cache/pom.xml +++ b/test-log-cache/pom.xml @@ -75,6 +75,7 @@ org.springframework.boot spring-boot-maven-plugin + ${spring-boot.version} test-log-cache ${project.parent.basedir}/integration-test/src/test/resources diff --git a/test-service-broker/pom.xml b/test-service-broker/pom.xml index 2326a92d2c..cf9279f0dd 100644 --- a/test-service-broker/pom.xml +++ b/test-service-broker/pom.xml @@ -81,6 +81,7 @@ org.springframework.boot spring-boot-maven-plugin + ${spring-boot.version} test-service-broker ${project.parent.basedir}/integration-test/src/test/resources