[ 
https://issues.apache.org/jira/browse/MNG-7344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865395#comment-17865395
 ] 

ASF GitHub Bot commented on MNG-7344:
-------------------------------------

juulhobert commented on PR #603:
URL: https://github.com/apache/maven/pull/603#issuecomment-2225255923

   @gnodet I've merged your changes into this branch. I've also verified that 
the output is still the same. If you would like to test it yourself, these are 
the reproduction steps:
   - Download example project 
[mng-7344.zip](https://github.com/user-attachments/files/16192112/mng-7344.zip)
   - Install dependencies and boms in the same sequence as in `validate.sh`
   - `mvn install` help plugin branch `MPH-183_effective-pom-path-to-source`
   - `mvn 
org.apache.maven.plugins:maven-help-plugin:3.4.1-SNAPSHOT:effective-pom 
-Dverbose` (replace mvn with the packaged Maven from this branch)
   
   
![image](https://github.com/user-attachments/assets/ca1ed09c-85e3-4d82-8728-dd16cd7a2747)
   
   




> Effective pom should contain more finegrained details regarding its content 
> origin: track dependencyManagement import
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-7344
>                 URL: https://issues.apache.org/jira/browse/MNG-7344
>             Project: Maven
>          Issue Type: Improvement
>          Components: Inheritance and Interpolation, POM
>            Reporter: Robert Scholte
>            Priority: Major
>             Fix For: 3.9.x-candidate, 4.0.x-candidate
>
>         Attachments: MicrosoftTeams-image.png
>
>
> To support MPH-183 some changes needs to be done in Maven Core.
> For every element that is not part of the raw model, it must be possible to 
> get the "resolution path" to that element. 
> Until now, only the usual pure inheritance is tracked though InputLocation, 
> as done in MNG-1803, later displayed by verbose help effective-pom with 
> MPH-160
> The following are known to add elements to the effective pom:
> - BOMs dependencyManagement import
> - [Tiles Maven Plugin|https://github.com/repaint-io/maven-tiles] by [~talios]
> Without this feature, it is very hard to detect where these extra elements 
> are coming from.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to