Migrate to Spring Framework 6.0

Proprietary

Migrate 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_0
mod run . --recipe=io.moderne.java.spring.framework.UpgradeSpringFramework_6_0

Install 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.

  1. Migrate to Spring Framework 5.3
  2. Migrate to Spring Framework 6.0
  3. Migrate to Spring Data 3.0
  4. Replace WebContentGenerator#checkAndPrepare
  5. Migrate ListenableFuture to CompletableFuture
  6. Migrate ResponseEntity#getStatusCodeValue() to getStatusCode().value()
  7. Migrate AbstractClientHttpResponse to ClientHttpResponse
  8. Upgrade Gradle or Maven dependency versions org.springframework.security:*:6.0.x
  9. Migrate to Spring Integration 6.0