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

Pavel Horal commented on MNG-7648:
----------------------------------

I have tried to debug the code flow and end up in DefaultModelBuilder that does 
not set {{locationTracking}} when requesting parent model - 
https://github.com/apache/maven/blob/8150c62749a637a98fbb9489fb8162034956220b/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java#L1535
 . This is my first dive into Maven internals so I am not sure I will be able 
to add any additional context. I might try to compare with Maven 3.9.x to 
verify this is regression, but I am affraid that the code will be too different.

> Generated model reader is not setting location information
> ----------------------------------------------------------
>
>                 Key: MNG-7648
>                 URL: https://issues.apache.org/jira/browse/MNG-7648
>             Project: Maven
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 4.0.0-alpha-3
>            Reporter: Pavel Horal
>            Priority: Major
>
> -Generated model reader is not setting {{location}} property - 
> [https://github.com/apache/maven/blob/e73a0b00fde80c400a6d854ec0c2ba7436325eed/maven-toolchain-model/src/main/mdo/reader.vm#L683]
>  .-
> Project model does not have location property in plugin execution (potential 
> issue when merging model parent configuration?). This causes issues for 
> example in Maven Enforcer Plugin which uses this information (see 
> [MENFORCER-447|https://issues.apache.org/jira/browse/MENFORCER-447?focusedCommentId=17651671&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17651671]).



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

Reply via email to