You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/08/24 05:31:06 UTC

[PR] [backport maven-4.0.x] Fix parent profile cache matching across activation contexts [maven]

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

   ## Backport of #12762
   
   Cherry-pick of #12762 onto `maven-4.0.x`.
   
   **Original PR:** #12762 - Fix parent profile cache matching across activation contexts
   **Original author:** @ulofiai
   **Target branch:** `maven-4.0.x`
   
   ### Original description
   
   Fixes #12724.
   
   Keep every explicitly consulted profile state in `DefaultProfileActivationContext.Record`, including values that evaluate to `false`. This prevents an assembled parent model from being reused when a later module has a different `-Pprofile` or `-!profile` context.
   
   Add focused regression tests for both active-profile and inactive-profile cache matching.


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [backport maven-4.0.x] Fix parent profile cache matching across activation contexts [maven]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet merged PR #12801:
URL: https://github.com/apache/maven/pull/12801


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org