Keep Spring Boot annotation processors in newly created annotationProcessorPaths

MSAL

Once annotationProcessorPaths is configured on the maven-compiler-plugin, javac no longer discovers annotation processors on the classpath. When an earlier step created that list, for instance to enable Lombok, add the spring-boot-configuration-processor and spring-boot-autoconfigure-processor the module declares as dependencies, so their metadata is still generated. Lists that existed before the run are left alone.

org.openrewrite.java.migrate.AddSpringBootAnnotationProcessorPaths
mod run . --recipe=org.openrewrite.java.migrate.AddSpringBootAnnotationProcessorPaths

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