Migrate to Spring Framework 5.0

MSAL

Migrate applications to the latest Spring Framework 5.0 release.

org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_0
mod run . --recipe=org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_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. Replace WebMvcConfigurerAdapter with WebMvcConfigurer
  2. Use javax.validation.constraints
  3. Upgrade Gradle or Maven dependency versions org.springframework.security:*:5.0.x
  4. Upgrade Gradle or Maven dependency versions org.springframework:*:5.0.x