Find @SpringBootApplication or @ComponentScan in the default package

Proprietary

Placing @SpringBootApplication or @ComponentScan in the default (unnamed) package causes Spring to scan the entire classpath, including third-party libraries. Move these classes into a dedicated package.

io.moderne.java.spring.boot.FindSpringApplicationInDefaultPackage
mod run . --recipe=io.moderne.java.spring.boot.FindSpringApplicationInDefaultPackage

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