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

AddAnnotationProcessor should compare and update versions using a property #4822

Merged

Conversation

nielsdebruin
Copy link
Contributor

@nielsdebruin nielsdebruin commented Dec 30, 2024

What's changed?

When adding a Maven annotation processor, handle a version specified as a property correctly.

@nielsdebruin nielsdebruin self-assigned this Dec 30, 2024
@nielsdebruin nielsdebruin linked an issue Dec 30, 2024 that may be closed by this pull request
@timtebeek timtebeek added the bug Something isn't working label Dec 31, 2024
@timtebeek timtebeek self-requested a review December 31, 2024 10:00
@timtebeek timtebeek marked this pull request as ready for review December 31, 2024 10:00
<artifactId>lombok</artifactId>
<version>${version.lombok}</version>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>0.2.0</version>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not what we want, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

Indeed better to update the version tag; this was a first quick attempt at getting rid of the comparison failure. Improvement picked up in 7c2fcd2

@nielsdebruin nielsdebruin changed the title Add Annotation Processor bug AddAnnotationProcessor bug Dec 31, 2024
@timtebeek timtebeek changed the title AddAnnotationProcessor bug AddAnnotationProcessor should compare and update versions using a property Dec 31, 2024
@timtebeek timtebeek merged commit 000a4f0 into main Dec 31, 2024
2 checks passed
@timtebeek timtebeek deleted the 4684-illegal-state-while-comparing-versions-with-latestrelease branch December 31, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants