apache / apache/maven-dependency-plugin

[MDEP-726] dependency:copy finds missing versions in TRANSITIVE dependencies

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

Description

**[Markus Karg](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mkarg)** opened **[MDEP-726](https://issues.apache.org/jira/browse/MDEP-726?redirect=false)** and commented

In case someone wants to dependency:copy a transitive dependency, currently he needs to explicitly provide that artifact's version. This is a bit annoying, because each time a transitive dependency gets updated, the POM containing the copy-execution needs to get adjusted. It would be great, if version could get omitted, just like it already works with direct dependencies and managed dependencies.

---

**Affects:** 3.3.0

**Remote Links:**
- [GitHub Pull Request #109
](https://github.com/apache/maven-dependency-plugin/pull/109)

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the MDEP-726 description and the linked GitHub pull request #109 first; the payload does not name source files or tests. Confirm how dependency:copy handles versions for transitive, direct, and managed dependencies, then verify that omitting a transitive version follows the same resolution behavior without requiring POM updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.