apache / apache/maven-dependency-plugin
[MDEP-772] "failOnDuplicates" option for "unpack" goal
- Dominant language
- Java
- Stars
- 175
- Forks
- 196
- Avg merge
- 19h 30m
- Merged PRs (30d)
- 5
Description
**[Yegor Bugayenko](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=yegor256)** opened **[MDEP-772](https://issues.apache.org/jira/browse/MDEP-772?redirect=false)** and commented
Would be great to have an new option 'failOnDuplicates'. If it's set to TRUE and the files we are trying to create already exist, we don't overwrite them, but raise an exception.
---
**Issue Links:**
- [MDEP-776](https://issues.apache.org/jira/browse/MDEP-776) copy-dependencies overwrites artifacts of the same artifact id
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the implementation and tests for the Maven Dependency Plugin's unpack goal. Trace how existing files are handled, then verify that the new failOnDuplicates option prevents overwrites and raises an exception when duplicates are found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100