Migrate to Spring Framework 5.0

Proprietary

Migrate applications to Spring Framework 5.0, layering proprietary Moderne recipes on top of the OSS org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_0. Also applies the earlier Spring Framework 3.0 and 4.0 migrations, so applications on older versions reach a 5.0 baseline in one run.

io.moderne.java.spring.framework.UpgradeSpringFramework_5_0
mod run . --recipe=io.moderne.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. Migrate to Spring Framework 4.0
  2. Migrate to Spring Framework 5.0
  3. Change type GuavaCacheManager to CaffeineCacheManager
  4. Add Gradle or Maven dependency com.github.ben-manes.caffeine:caffeine:2.x
  5. Migrate to Spring ORM 5