Enable Lombok annotation processor

MSAL

With Java 23 the encapsulation of JDK internals made it necessary to configure annotation processors like Lombok explicitly. The change is valid for older versions as well.

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

Install 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.

  1. Add an annotation processor to maven-compiler-plugin
  2. Keep Spring Boot annotation processors in newly created annotationProcessorPaths
  3. Add Gradle dependency org.projectlombok:lombok:[1.18.40)