Migrate to Spring Framework 5.3
ProprietaryMigrate applications to the latest Spring Framework 5.3 release, pulling in additional proprietary Moderne recipes.
io. moderne. java. spring. framework. UpgradeSpringFramework_5_3mod run . --recipe= io. moderne. java. spring. framework. UpgradeSpringFramework_5_3Install 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.
- Migrate to Spring Framework 5.0
- Migrate from Acegi Security 1.0.x to Spring Security 5.0
- Migrate to Spring Framework 5.2
- Replace
ChannelInterceptorAdapterwithChannelInterceptor - Migrate
TransactionSynchronizationAdaptertoTransactionSynchronization - Move a wildcard CORS origin to
allowedOriginPatternswhere credentials are allowed - Move a wildcard SockJS allowed origin to
setAllowedOriginPatterns - Upgrade Gradle or Maven dependency versions
org.springframework:*:5.3.x - Upgrade Gradle or Maven dependency versions
org.springframework.security:*:5.3.x - Use
ObjectUtils#isEmpty(Object) - Migrate
HandlerInterceptorAdaptertoHandlerInterceptor - Convert
InstantiationAwareBeanPostProcessorAdaptertoSmartInstantiationAwareBeanPostProcessor - Use varargs equivalents for deprecated JdbcTemplate signatures
- Upgrade Gradle or Maven dependency versions
org.hibernate:hibernate-search-orm:5.11.x - Remove a Gradle or Maven dependency
org.aspectj:aspectjrt - Remove a Gradle or Maven dependency
aopalliance:aopalliance - Remove a Gradle or Maven dependency
cglib:cglib - Add
setUseSuffixPatternMatch(true)for pre-Spring Framework 5.3 projects - Add landing page controller for welcome file configuration