Migrate to Spring Modulith 2.0

Proprietary

Migrate applications from Spring Modulith 1.x to 2.0, the release line built for Spring Boot 4.0. Spring Modulith 1.x references Spring Boot 3 auto-configuration types that Spring Boot 4.0 removed, so an application using it fails to start on Spring Boot 4.0. A JPA event publication table needs the status, completion_attempts and last_resubmission_date columns that Spring Modulith 2.0 maps, which is left to the application's schema migration.

io.moderne.java.spring.boot4.UpgradeSpringModulith_2_0
mod run . --recipe=io.moderne.java.spring.boot4.UpgradeSpringModulith_2_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.