Bump Spring Kafka, Spring Integration, and dependency-management-plugin alongside Spring Framework 6#1029
Merged
Merged
Conversation
…in alongside Spring Framework 6 The Framework 6 upgrade recipe only moved the `org.springframework` artifacts, leaving companion libraries pinned to versions that still require Spring 5 (or pre-Gradle 9). Chain the existing `UpgradeSpringKafka_3_0` recipe and add `UpgradeDependencyVersion` / `UpgradePluginVersion` entries for Spring Integration and `io.spring.dependency-management` so Framework 6 lands with consumers that can actually resolve at runtime.
Jenson3210
commented
May 28, 2026
timtebeek
approved these changes
May 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Framework 6 upgrade recipe only moved the
org.springframeworkartifacts, leaving companion libraries pinned to versions that still require Spring 5 (or pre-Gradle 9). This PR chains the existingUpgradeSpringKafka_3_0recipe and addsUpgradeDependencyVersion/UpgradePluginVersionentries for Spring Integration andio.spring.dependency-managementso Framework 6 lands with consumers that can actually resolve at runtime.org.springframework.kafka:spring-kafka2.9.113.0.xorg.springframework.integration:*4.x/5.x6.0.xio.spring.dependency-management(Gradle plugin)1.0.6.RELEASE1.1.xio.spring.gradle:dependency-management-plugin(Maven)1.0.6.RELEASE1.1.xTest plan
UpgradeSpringFramework_6_0Testcovering all three companion-library bumps (Mavenpom.xmlfor kafka/integration, Gradlebuild.gradlefor the dependency-management plugin)./gradlew test --tests org.openrewrite.java.spring.framework.UpgradeSpringFramework_6_0Testpasses