apache / apache/maven-dependency-plugin

[MDEP-485] unpack-dependencies should be able to use subdirectories per classifier

Open
#929 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

**[Dirk Rudolph](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=diru)** opened **[MDEP-485](https://issues.apache.org/jira/browse/MDEP-485?redirect=false)** and commented

When using classifiers to build environment specific artefacts, aggregating them to for example a single deployment unit (in my case its an rpm file, using the rpm plugin) would be easier when there would be a configuration option to unpack all dependencies to a subdirectory per classifier.

```

true

```

In this case we could easily unpack all dependencies build for development environment to a single place. Adding a new artefact would require adding a dependency and **not** changing the plugin configuration for the build of the deployment unit.

---

**Affects:** 2.10

Contributor guide

No contributing guide indexed for this repository

Research direction

The affected entry point is the unpack-dependencies goal; first trace how it handles dependency classifiers and how its configuration is documented. Add the requested useSubDirectoryPerClassifier option and verify that dependencies with different classifiers unpack into separate classifier-based directories without changing existing behavior.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.