apache / apache/maven-dependency-plugin

[MDEP-266] Add parameter to configure copy-dependencies to also copy optional dependencies

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

**[Andreas Sewe](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sewe)** opened **[MDEP-266](https://issues.apache.org/jira/browse/MDEP-266?redirect=false)** and commented

At the moment, copy-dependencies only copies non-optional dependencies. However, one sometimes wants to copy **all** dependencies -- even the optional ones.

---

**Affects:** 2.1

**Issue Links:**
- [MDEP-661](https://issues.apache.org/jira/browse/MDEP-661) Add option to exclude optional dependencies for copy-dependencies

1 votes, 3 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the copy-dependencies goal and trace how it currently selects optional dependencies. Add a configuration parameter that controls whether optional dependencies are copied, then verify that both enabled and default behavior are covered by the plugin's tests.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.