gnodet opened a new pull request, #13158:
URL: https://github.com/apache/maven/pull/13158

   Backport of #13112 (master) and #13114 (maven-3.10.x) to `maven-4.0.x`.
   
   Instead of blanket-filtering file and property profiles in external model 
builds (dependency POMs, parent POMs, imported BOMs), evaluate them against a 
sandboxed `ProfileActivationContext` that:
   
   - Merges model `<properties>` into system property lookups — POM-declared 
properties drive activation in dependency builds.
   - Suppresses user properties — consumer `-D` flags must not activate 
dependency profiles.
   - Pre-filters file-activated profiles (returning `false` from `exists()` 
would incorrectly activate `<missing>` profiles).
   - Strips repository contributions from active external profiles.
   
   Both compat and impl stacks updated identically. Tests cover all activation 
paths including the system-property opt-out of default-on profiles.


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