Migrate to Spring Framework 4.0

Proprietary

Migrate applications to the latest Spring Framework 4.0 release. This composite focuses on dependency upgrades and the mechanical package moves that accompanied the 3.x to 4.0 transition. Removed APIs that do not have a 1:1 replacement (for example JpaTemplate, the AbstractCommandController family, Hibernate 3 support classes) still require code changes that this recipe does not perform.

io.moderne.java.spring.framework.UpgradeSpringFramework_4_0
mod run . --recipe=io.moderne.java.spring.framework.UpgradeSpringFramework_4_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 3.x
  2. Remove a Gradle or Maven dependency org.springframework:spring-asm
  3. Rename package name org.springframework.web.servlet.view.tiles2 to org.springframework.web.servlet.view.tiles3
  4. Upgrade Gradle or Maven dependency versions org.springframework:*:4.0.x
  5. Upgrade Gradle or Maven dependency versions org.springframework.security:*:4.0.x