apache / apache/maven-dependency-plugin

[MDEP-631] purge-local-repository doesn't include dependencies with scope provided

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

Description

**[Benjamin Donze](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=benjamin.donze)** opened **[MDEP-631](https://issues.apache.org/jira/browse/MDEP-631?redirect=false)** and commented

When configuring a goal using purge-local-repository within a pom file the dependencies with of the module with scope provided are not purged from local repository.

---

**Affects:** 3.1.1

**Attachments:**
- [MDEP-631-its.patch](https://issues.apache.org/jira/secure/attachment/12963795/MDEP-631-its.patch) (_530 bytes_)
- [MDEP-631-problemsource-stracktrace.png](https://issues.apache.org/jira/secure/attachment/12963794/MDEP-631-problemsource-stracktrace.png) (_480.35 kB_)
- [MDEP-631-problemsource-variables.png](https://issues.apache.org/jira/secure/attachment/12963793/MDEP-631-problemsource-variables.png) (_1.14 MB_)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the MDEP-631-its.patch attachment and reproducing the purge-local-repository configuration described in the issue. Verify that module dependencies with provided scope are removed from the local repository, while existing purge behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.