[
https://issues.apache.org/jira/browse/MPH-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17429268#comment-17429268
]
Robert Scholte commented on MPH-183:
------------------------------------
I've attached an integration-test (without verify script!).
In the result.txt you'll notice a line like
{{<version>2.1</version> <!--
org.apache.maven.plugins.help.it:mph183-tool-bom:2.1, line 35 -->}}
However, if you go through the the parents, you'll never find this dependency.
In the example it is quite clear where it is coming from, but once there are
multiple boms it because hard to find.
What I would expect is something like
{{<version>2.1</version> <!--
org.apache.maven.plugins.help.it:mph183-tool-bom:2.1, line 35 via
org.apache.maven.plugins.help.it:mph183-boot-bom:1.0 -->}}
mph183-boot-bom:1.0 is inherited, which makes it clear where changes should be
done.
In theory (and I think with projects like spring-cloud) the level of boms can
be even higher, in which case it would be {{x via y via z}}.
Goal is to end the message with a dependency that can be found while going
through the parent.
> Effective-pom + verbose should show path to source
> --------------------------------------------------
>
> Key: MPH-183
> URL: https://issues.apache.org/jira/browse/MPH-183
> Project: Maven Help Plugin
> Issue Type: Improvement
> Reporter: Robert Scholte
> Priority: Major
> Attachments: mph-183-it.zip
>
>
> 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 dependencies and
> especially their versions are coming from.
> Instead of only showing the location, it should show the path from the
> current project to that specific pom. This way it will be easier to figure
> out which dependency needs to be upgraded.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)