Migrate to Spring Framework 6.0
ProprietaryMigrate applications to the latest Spring Framework 6.0 release. Also applies the earlier Spring Framework migrations up to 5.3, the OSS Spring Framework 6.0 upgrade (the org.springframework:* version bump and Jakarta EE 10 package moves), and Spring Integration XML attribute migrations. Additionally bumps org.springframework.security:* to 6.0.x (Spring Security tracks Spring's major) and cleans up Spring Integration XML configurations.
io. moderne. java. spring. framework. UpgradeSpringFramework_6_0mod run . --recipe= io. moderne. java. spring. framework. UpgradeSpringFramework_6_0Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Migrate to Spring Framework 5.3
- Migrate to Spring Framework 6.0
- Migrate to Spring Data 3.0
- Replace
WebContentGenerator#checkAndPrepare - Migrate
ListenableFuturetoCompletableFuture - Migrate
ResponseEntity#getStatusCodeValue()togetStatusCode().value() - Migrate
AbstractClientHttpResponsetoClientHttpResponse - Upgrade Gradle or Maven dependency versions
org.springframework.security:*:6.0.x - Migrate to Spring Integration 6.0