apache / apache/maven-dependency-plugin

[MDEP-616] New fuzziness to purge a version

Open
#1,049 2 comments 0 reactions 0 assignees View on GitHub
enhancement priority:minor
Dominant language
Java
Stars
175
Forks
196
Avg merge
19h 30m
Merged PRs (30d)
5

Description

**[Jordan COUTON](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=menaren)** opened **[MDEP-616](https://issues.apache.org/jira/browse/MDEP-616?redirect=false)** and commented

Hi,

I would like to propose a patch in order to improve the dependency.purge-local-repository feature.

Let's say there are 2 branches with the same base version number pattern :
* develop : 3.X
* product : 3.2.X

If I run a purge-local-repository on the 3.2, the default fuzziness (version) will erase all the dependencies where the version number is 3.1 but also all the 3.2.X.

I need a way to delete the old versions of one branch without affecting the other.

 

---

**Affects:** 3.1.1

**Attachments:**
- [branch_fuzziness.patch](https://issues.apache.org/jira/secure/attachment/12925366/branch_fuzziness.patch) (_5.50 kB_)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the MDEP-616 description and the attached branch_fuzziness.patch; the payload names no source file, test, or entry point. Done means allowing purge-local-repository to remove old versions from one branch without deleting dependencies from another branch sharing the base version pattern.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.