Migrate to Spring Framework 5.3

Proprietary

Migrate applications to the latest Spring Framework 5.3 release, pulling in additional proprietary Moderne recipes.

io.moderne.java.spring.framework.UpgradeSpringFramework_5_3
mod run . --recipe=io.moderne.java.spring.framework.UpgradeSpringFramework_5_3

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 5.0
  2. Migrate from Acegi Security 1.0.x to Spring Security 5.0
  3. Migrate to Spring Framework 5.2
  4. Replace ChannelInterceptorAdapter with ChannelInterceptor
  5. Migrate TransactionSynchronizationAdapter to TransactionSynchronization
  6. Move a wildcard CORS origin to allowedOriginPatterns where credentials are allowed
  7. Move a wildcard SockJS allowed origin to setAllowedOriginPatterns
  8. Upgrade Gradle or Maven dependency versions org.springframework:*:5.3.x
  9. Upgrade Gradle or Maven dependency versions org.springframework.security:*:5.3.x
  10. Use ObjectUtils#isEmpty(Object)
  11. Migrate HandlerInterceptorAdapter to HandlerInterceptor
  12. Convert InstantiationAwareBeanPostProcessorAdapter to SmartInstantiationAwareBeanPostProcessor
  13. Use varargs equivalents for deprecated JdbcTemplate signatures
  14. Upgrade Gradle or Maven dependency versions org.hibernate:hibernate-search-orm:5.11.x
  15. Remove a Gradle or Maven dependency org.aspectj:aspectjrt
  16. Remove a Gradle or Maven dependency aopalliance:aopalliance
  17. Remove a Gradle or Maven dependency cglib:cglib
  18. Add setUseSuffixPatternMatch(true) for pre-Spring Framework 5.3 projects
  19. Add landing page controller for welcome file configuration