Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AddAnnotationProcessor recipe #4694

Merged
merged 10 commits into from
Nov 25, 2024
Merged

Conversation

Laurens-W
Copy link
Contributor

What's changed?

Introduce new recipe for adding annotation processors to the maven compiler plugin

What's your motivation?

relies on adding the annotation processor for both maven and gradle

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

@timtebeek

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@Laurens-W Laurens-W added enhancement New feature or request recipe Requested Recipe labels Nov 20, 2024
@Laurens-W Laurens-W requested a review from timtebeek November 20, 2024 18:39
@Laurens-W Laurens-W self-assigned this Nov 20, 2024
reverse arguments on equal check so no null checks are needed
Adjust name and desc to match recipe
@Laurens-W Laurens-W marked this pull request as ready for review November 21, 2024 14:40
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>0.1.0</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd intentionally changed this to use a mismatched version; should we perhaps override any existing version here? Or only when lower than the version we're intended to add?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elsewhere we have similar classes in src/main as well; makes for nicer usage to move this up now as well.

Copy link
Contributor

@timtebeek timtebeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved already; do let me know your thoughts on the question I'd put on the test before a merge.

@timtebeek timtebeek merged commit 84b92ec into main Nov 25, 2024
2 checks passed
@timtebeek timtebeek deleted the add-maven-annotation-processor branch November 25, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request recipe Requested Recipe
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants