Tarun4201 commented on PR #13406:
URL: https://github.com/apache/maven/pull/13406#issuecomment-6108601436
Thanks for pointing out the nested `InputLocation` structure in
`MavenStaxReader`!
The changes have been pushed:
1. **Nested Location Tracking**: Fixed `DefaultProfileInjector` to look up
property locations via `propsLoc = source.getLocation("properties")` and
`propsLoc.getLocation(key)`, correctly preserving source locations for
XML-parsed profiles.
2. **Unit Test**: Updated `ProfileScopePropertiesTest` to mirror the
parser's nested location structure.
3. **PR Description**: Updated to reflect the single-prefix implementation
in `maven-impl`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]