apache / apache/maven-dependency-plugin

[MDEP-950] 'copy dependency' feature doesn't allow for packaging only the dependencies required during the compile phase.

Open
#1,442 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

**[Calvin Kirs](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kirs)** opened **[MDEP-950](https://issues.apache.org/jira/browse/MDEP-950?redirect=false)** and commented

I've been using the Maven dependency plugin to package my binary application, but ensuring it includes only the compile-phase dependencies has been a challenge. I've reviewed the documentation[1], but it doesn't meet my needs. I'm struggling with the context behind this design decision, and why it was initially set up this way. Of course, if there are alternative approaches that require additional development, I'm willing to contribute.

 

https://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#includescope

---
No further details from [MDEP-950](https://issues.apache.org/jira/browse/MDEP-950?redirect=false)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Maven dependency plugin copy-dependencies documentation, especially the includescope section linked in the issue, and inspect how the current copy-dependencies goal defines dependency scopes. Clarify the expected compile-phase behavior and its relationship to the existing design before identifying implementation and test entry points; done means the requested packaging behavior is supported and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.