Migrate to Spring Cloud 2025.1

MSAL

Migrate applications to the latest Spring Cloud 2025.1 release, compatible with Spring Boot 4.0.

org.openrewrite.java.spring.cloud2025.UpgradeSpringCloud_2025_1
mod run . --recipe=org.openrewrite.java.spring.cloud2025.UpgradeSpringCloud_2025_1

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. Preserve Gradle Spring Security RSA versions
  2. Change Maven parent org.springframework.boot:spring-boot-starter-parent:4.0.x
  3. Upgrade Gradle or Maven dependency versions org.springframework.cloud:*:5.0.x
  4. Upgrade Gradle or Maven dependency versions org.springframework.cloud:spring-cloud-dependencies:2025.1.x
  5. Add Spring Cloud dependencies BOM