Migrate to Spring Boot 2.7

MSAL

Upgrade to Spring Boot 2.7.

org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_7
mod run . --recipe=org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_7

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 Boot 2.6
  2. Upgrade Gradle or Maven dependency versions org.springframework.boot:*:2.7.x
  3. Upgrade Gradle or Maven dependency versions org.springframework.boot:spring-boot-dependencies:2.7.x
  4. Remove stale mockito.version property predating the Mockito BOM
  5. Upgrade Maven plugin version org.springframework.boot:spring-boot-maven-plugin:2.7.x
  6. Upgrade Maven parent project version to org.springframework.boot:spring-boot-starter-parent:2.7.x
  7. Update a Gradle plugin by id org.springframework.boot
  8. Upgrade Gradle or Maven dependency versions org.springframework:*:5.3.x
  9. Migrate to Spring Data JPA 2.7
  10. Migrate to Spring Security 5.7
  11. Upgrade Gradle or Maven dependency versions org.springdoc:*:1.8.x
  12. Upgrade Gradle or Maven dependency versions org.springframework.cloud:spring-cloud-stream-dependencies:3.2.x
  13. Change type org.springframework.boot.web.server.LocalServerPort to org.springframework.boot.test.web.server.LocalServerPort
  14. Change type org.springframework.boot.actuate.autoconfigure.web.server.LocalManagementPort to org.springframework.boot.test.web.server.LocalManagementPort
  15. Change type org.springframework.boot.rsocket.context.LocalRSocketServerPort to org.springframework.boot.test.rsocket.server.LocalRSocketServerPort
  16. Change type SpringPhysicalNamingStrategy to CamelCaseToUnderscoresNamingStrategy
  17. Migrate Spring Boot properties to 2.7
  18. Move SAML relying party identity provider property to asserting party
  19. Change key $.spring.security.saml2.relyingparty.registration.*[?(@.identityprovider)] to assertingparty
  20. Change the value of a Spring application property
  21. Upgrade MyBatis to Spring Boot 2.7