openrewrite / openrewrite/rewrite
Dependency duplicated within a child dependency from the parent was not removed with "Remove Duplicate Dependencies" recipe
Open
Nobody has claimed this yet.
bug
maven
- Dominant language
- Java
- Stars
- 3.7k
- Forks
- 570
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 261
Description
The Remove Duplicate Dependencies (https://docs.openrewrite.org/reference/recipes/maven/removeduplicatedependencies) tool is not able to recognize when a dependency is defined on a project's pom.xml and is again defined in a child pom.xml
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the Remove Duplicate Dependencies recipe linked in the issue and inspect how it handles dependencies in a parent pom.xml and child pom.xml. Reproduce the reported parent/child case, then verify that the child duplicate is removed while the parent declaration remains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100