codegenomeproject
Search
MarketplaceModules
PackagesCLIMCP
Sign in
  1. Marketplace
  2. Java
  3. Spring
  4. Migrate to Spring Framework 6.0

Migrate to Spring Framework 6.0

MSAL

Migrate applications to the latest Spring Framework 6.0 release.

org.openrewrite.java.spring.framework.UpgradeSpringFramework_6_0
mod run . --recipe=org.openrewrite.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.

Recipe
  1. Migrate to Spring Framework 5.3
  2. Migrate to Jakarta EE 10
  3. Migrate to Hibernate 5.6.x with Jakarta Persistence
  4. Upgrade Gradle or Maven dependency versions org.springframework:*:6.0.x
  5. Migrate to Spring Kafka 3.0
  6. Upgrade Gradle or Maven dependency versions org.springframework.integration:*:6.0.x
  7. Update a Gradle plugin by id io.spring.dependency-management
  8. Upgrade Maven plugin version io.spring.gradle:dependency-management-plugin:1.1.x
  9. Migrate removed Spring Assert methods
  10. Migrate to ApacheHttpClient 5.x
  11. Migrate setReadTimeout(int) to SocketConfig setSoTimeout(..)
  12. Migrate ResponseEntityExceptionHandler from HttpStatus to HttpStatusCode
  13. Migrate breaking changes in ResponseStatusException
  14. Replaces deprecated ClientHttpResponse#getRawStatusCode()
  15. Change method invocation return type
  16. Migrate to Spring Data 3.0
  17. Convert JdbcTemplate.queryForLong(..) to queryForObject(..)
  18. Migrate ListenableFuture to CompletableFuture
© Moderne, 2026
Recipe indexPrivacyTerms