apache / apache/maven

[MNG-6107] Add support for "includes" in dependencyManagement

Open
#7,333 0 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Christofer Dutz](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cdutz)** opened **[MNG-6107](https://issues.apache.org/jira/browse/MNG-6107?redirect=false)** and commented

There are quite a number of artifacts that reference no-deps artifacts which pull in undesired content. I usually exclude these in dependencyManagment sections, but manually add artifacts that provide the excluded nodeps content. The problem is, that if someone in the company uses the library for which I have excluded the no-deps artifacts will probably not know about this and not manually add the missing artifacts. Therefore it would be great if the dependencyManagment section would allow not only "excludes" but "includes" that would allow to auto-include dependencies if a given artifact is used.

---

**Remote Links:**
- [Page
](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65875544)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.