apache / apache/maven-dependency-plugin

[MDEP-167] Include parent poms in the dependency tree.

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

Description

**[Paul Gier](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=pgier)** opened **[MDEP-167](https://issues.apache.org/jira/browse/MDEP-167?redirect=false)** and commented

There should be a way to show parent poms in the dependency tree. The parent poms of the current project and the dependency projects are downloaded during a build just like transitive dependencies. It would be helpful in some cases to be able to see where these poms are in the tree.

The poms could be displayed only in verbose mode and in a way to show that they are only poms and not jars. Perhaps they could be displayed in parentheses similar to dependencies that have been omitted and followed by " - parent pom".

---

**Issue Links:**
- [MDEP-280](https://issues.apache.org/jira/browse/MDEP-280) Include parent hierarchy also in tree generated by dependency:tree
(_**"is duplicated by"**_)
- [MDEP-415](https://issues.apache.org/jira/browse/MDEP-415) Add option to include parent poms in dependency:resolve output

7 votes, 7 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the dependency:tree goal and review the linked MDEP-280 issue, which duplicates this request and asks for the parent hierarchy. Define how parent POMs should appear, including verbose-mode behavior and labeling that distinguishes them from JAR dependencies; done means the dependency tree exposes the requested parent hierarchy without presenting POMs as artifacts.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.