[ 
https://issues.apache.org/jira/browse/MNG-8004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamas Cservenak updated MNG-8004:
---------------------------------
    Description: 
So far location tracking gives us source file, line num and col num, which is 
fine.

But historically, Maven2 had only parent POMs, Maven3 introduced import POMs, 
while Maven4 will have things like XInclude as well.

It would be great if we could enhance location with 4th element: "why (or how) 
did this element end up here". Was it from current POM, from parent maybe? From 
import-pom? Or was it XIncluded?

  was:
So far location tracking gives us source file, line num and col num, which is 
fine.
But historically, Maven2 had only parent, Maven3 introduced import-pom, while 
Maven4 will have things like XInclude as well.
It would be great if we could enhance location with 4th element: "why (or how) 
did this element end up here". Was it from POM, from parent? For import-pom? Or 
XIncluded?


> Enhance location tracking
> -------------------------
>
>                 Key: MNG-8004
>                 URL: https://issues.apache.org/jira/browse/MNG-8004
>             Project: Maven
>          Issue Type: Task
>          Components: Core
>            Reporter: Tamas Cservenak
>            Priority: Major
>             Fix For: 4.0.0, 4.0.0-alpha-11
>
>
> So far location tracking gives us source file, line num and col num, which is 
> fine.
> But historically, Maven2 had only parent POMs, Maven3 introduced import POMs, 
> while Maven4 will have things like XInclude as well.
> It would be great if we could enhance location with 4th element: "why (or 
> how) did this element end up here". Was it from current POM, from parent 
> maybe? From import-pom? Or was it XIncluded?



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

Reply via email to