Skip to content

[WIP] DO NOT MERGE!!!! - Springboot 4.0.x upgrade #6686

Draft
nrknithin wants to merge 6 commits intoapache:mainfrom
nrknithin:spring-boot-4_0
Draft

[WIP] DO NOT MERGE!!!! - Springboot 4.0.x upgrade #6686
nrknithin wants to merge 6 commits intoapache:mainfrom
nrknithin:spring-boot-4_0

Conversation

@nrknithin
Copy link
Copy Markdown
Contributor

@nrknithin nrknithin commented Apr 28, 2026

Kie-Issue: apache/incubator-kie-issues#2288

Related PRs

Summary

Update version properties in build-parent/pom.xml to align with Spring Boot 4.0.x. Drools doesn't depend on Spring Boot directly, but downstream Apache KIE repos (kogito-runtimes, kogito-apps, kogito-examples) inherit these versions, so they need to match the spring-boot-dependencies:4.0.5 BOM.

What changed

jackson 2.21.12.21.2
jackson.databind 2.21.12.21.2
micrometer 1.14.121.16.4
hamcrest 2.23.0
junit-jupiter 5.13.46.0.3
junit-platform 1.13.46.0.3 (JUnit 6 uses unified versioning)
logback 1.5.251.5.32
h2database 2.3.2322.4.240
commons-lang3 3.18.03.19.0
infinispan 15.0.21.Final15.2.6.Final
postgresql 42.7.842.7.10

Why

Spring Boot 4.0.5 ships these versions in its dependencies BOM. Aligning here prevents version-resolution conflicts in downstream repos that import both drools-build-parent and spring-boot-dependencies.

One subtle point: junit-platform had to go to 6.0.3, not 1.14.x. JUnit 6 unified the version numbering — junit-bom:6.0.3 pins both Jupiter and Platform to 6.0.3. Pairing Jupiter 6.0.3 with Platform 1.13.4 causes NoSuchMethodError at test discovery.

Verified with a full mvn clean install (all tests pass).


In drools-reliability/drools-reliability-infinispan/pom.xml & drools-reliability/drools-reliability-tests/pom.xml: added an <ignoreClass> entry for org.infinispan.commons.spi.OffHeapMemory and ThreadCreator (scoped to infinispan-commons-spi) to resolve a CI duplicate-class build failure introduced by the infinispan bump — at 15.2.6.Final upstream ships byte-identical copies of those two classes in both infinispan-commons and infinispan-commons-spi. Mirrors the existing infinispan-objectfilter exception in the same file.

@nrknithin nrknithin changed the title [WIP] Springboot 4.0.x upgrade [WIP] Springboot 4.0.x upgrade DO NOT MERGE!!!! Apr 28, 2026
@nrknithin nrknithin changed the title [WIP] Springboot 4.0.x upgrade DO NOT MERGE!!!! [WIP] DO NOT MERGE!!!! - Springboot 4.0.x upgrade Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant