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

Remove property in maven model #4298

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

BoykoAlex
Copy link
Contributor

UpdateMavenModel visitor only adds or modifies properties but never removes them.
Consequently, RemoveProperty recipe would only remove property from XML but leave it in the model unless parent or dependencies have changed. Tests are modified to demonstrate the issue and test for it.

…tyKey.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@sambsnyd sambsnyd merged commit 26f08cd into openrewrite:main Jul 2, 2024
2 checks passed
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.

2 participants