Tarun4201 commented on PR #13406:
URL: https://github.com/apache/maven/pull/13406#issuecomment-6107966024

   ### Description
   Addresses [MNG-6885](https://issues.apache.org/jira/browse/MNG-6885) by 
introducing profile-scoped property resolution (`${profile.<id>.<property>}`) 
in Maven 4.
   
   When active profiles are injected via `DefaultProfileInjector` in `impl`:
   - Scoped property keys (`profile.<id>.<key>`) are populated into the model 
properties alongside standard properties.
   - Source `InputLocation` is tracked for every scoped entry 
(`builder.location(scopedKey, loc)`).
   - Inactive profiles are not injected, preventing unused profile properties 
from bleeding into model properties.
   - Standard interpolation naturally resolves these properties without 
modifying `DefaultModelInterpolator` or altering `${project.X}` accessor 
semantics.
   


-- 
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]

Reply via email to