[MPH-183] Effective-pom + verbose should show import path to BOM dependencyManagement

Open
#303 4 comments 0 reactions 1 assignee View on GitHub

@mthmulders is already working on this.

Since Jun 14, 2025.

Assessment

This issue has not been assessed yet.

Description

enhancement priority:major

Robert Scholte opened MPH-183 and commented

The popular spring-boot makes a lot of use of BOMs. Using BOMs is a good practice, but right now it is very hard to determine where dependencyManagement dependencies and especially their versions are coming from.

Instead of only showing only the final location (from the BOM POM), it should also show the import path from the current project to that specific pom (where is the BOM POM imported?).

This way it will be easier to figure out which dependency in which POM needs to be upgraded: it's the version in the POM declaring the import of the BOM POM, not the version in the imported BOM POM.


Affects: 3.2.0

Attachments:

Issue Links:

  • MNG-3220 Allow managed dependencies to be imported into other projects
    ("is caused by")

  • MNG-7906 Dependency Management import (BOM) does not work the "maven way"

  • MNG-7344 Effective pom should contain more finegrained details regarding its content origin: track dependencyManagement import
    ("requires")

  • MPH-160 help:effective-pom -Dverbose: add source location as comments in effective pom.xml
    ("supercedes")

Remote Links:

2 votes, 5 watchers

Dominant language
Java
Stars
29
Forks
42
Avg merge
23h 15m
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/maven-help-plugin

All issues in apache/maven-help-plugin

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.