Skip to content

Add EnableLombokAnnotationProcessor to LombokBestPractices#1052

Merged
timtebeek merged 1 commit intomainfrom
tim/fix-866
Apr 8, 2026
Merged

Add EnableLombokAnnotationProcessor to LombokBestPractices#1052
timtebeek merged 1 commit intomainfrom
tim/fix-866

Conversation

@timtebeek
Copy link
Copy Markdown
Member

@timtebeek timtebeek commented Apr 8, 2026

Summary

  • Closes Lombok: Add annotationProcessorPaths configuration to the maven-compiler-plugin plugin #866

  • Adds EnableLombokAnnotationProcessor to the LombokBestPractices recipe so that Lombok's annotationProcessorPaths configuration is added to maven-compiler-plugin as a best practice, not only during Java version upgrades.

  • Updates LombokBestPracticesTest to use recipeFromResources (needed to resolve the cross-file recipe reference) and validates that annotation processor paths are present in the output.

Test plan

  • LombokBestPracticesTest passes (both providedScope and excludeTransitiveLombok)
  • EnableLombokAnnotationProcessorTest passes (no regressions)

@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Apr 8, 2026
@timtebeek timtebeek merged commit 2388f91 into main Apr 8, 2026
1 check passed
@timtebeek timtebeek deleted the tim/fix-866 branch April 8, 2026 11:26
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Lombok: Add annotationProcessorPaths configuration to the maven-compiler-plugin plugin

1 participant