Migrate to Spring Modulith 2.1

Proprietary

Migrate applications to Spring Modulith 2.1, the release line built for Spring Boot 4.1. Deprecated APIs that Spring Modulith 2.1 removed without a drop-in replacement, such as ModulithMetadata#getSharedModuleNames(), are left for a manual migration.

io.moderne.java.spring.boot4.UpgradeSpringModulith_2_1
mod run . --recipe=io.moderne.java.spring.boot4.UpgradeSpringModulith_2_1

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.