Migrate Spring Framework to Spring Boot
ProprietaryMigrate non Spring Boot applications to the latest compatible Spring Boot release. This recipe will modify an application's build files introducing Maven dependency management for Spring Boot, or adding the Gradle Spring Boot build plugin.
io. moderne. java. spring. boot. SpringToSpringBootmod run . --recipe= io. moderne. java. spring. boot. SpringToSpringBootInstall 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 3.x
- Migrate Spring Framework dependencies to Spring Boot
- Replace Spring Framework dependencies with Spring Boot starters
- Add
@SpringBootApplicationclass - Add Spring Boot 4 starters for the libraries in use on Spring Framework 7
- Mark embedded server as provided for WAR projects
- Migrate
beans.xmlto Spring Framework configuration class - Migrate
web.xmltoWebApplicationInitializer