-
Notifications
You must be signed in to change notification settings - Fork 9
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 validation to ChangeDependency
, so it checks that either group or artifact is different from the old.
#55
Labels
Comments
tobli
added a commit
to tobli/rewrite
that referenced
this issue
Jan 5, 2024
ChangeDependencyGroupIdAndArtifactId and ChangeManagedDependencyGroupIdAndArtifactId are intended to be set up to *change* maven coordinates. If the pre- and post-coordinates are the same, it's likely that the UpgradeDependencyVersion recipe was intended. This change adds validation of the newGroupId/newArtifactId options. See openrewrite/rewrite-java-dependencies#55
Merged
3 tasks
timtebeek
added a commit
to openrewrite/rewrite-okhttp
that referenced
this issue
Jan 5, 2024
timtebeek
added a commit
to openrewrite/rewrite-micrometer
that referenced
this issue
Jan 5, 2024
sambsnyd
pushed a commit
to openrewrite/rewrite
that referenced
this issue
Jan 13, 2024
…AV (#3889) ChangeDependencyGroupIdAndArtifactId and ChangeManagedDependencyGroupIdAndArtifactId are intended to be set up to *change* maven coordinates. If the pre- and post-coordinates are the same, it's likely that the UpgradeDependencyVersion recipe was intended. This change adds validation of the newGroupId/newArtifactId options. See openrewrite/rewrite-java-dependencies#55
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem are you trying to solve?
Describe the solution you'd like
Have you considered any alternatives or workarounds?
Additional context
As suggested on OSS Slack by @tobli
The text was updated successfully, but these errors were encountered: