[MNG-3309] Cascading profile activation#1774
Open
gnodet wants to merge 1 commit into
Open
Conversation
21eb346 to
1ed072b
Compare
3f184eb to
3d21d5f
Compare
9d59fbc to
a5a3941
Compare
a5a3941 to
c7edd16
Compare
4b18472 to
3dfcd05
Compare
bd32d8c to
cd869f3
Compare
Cascading profile activation allows a profile to set a property that immediately triggers the activation of subsequent profiles within the same POM. Implementation: - DefaultProfileSelector now iterates profile activation in a loop until stable - Cascaded properties are stored in a separate map (DefaultProfileActivationContext) isolated from main model properties to avoid interference with settings profiles - Model properties (including cascaded ones) are only consulted for POM profile activation (Profile.SOURCE_POM), never for settings profiles — prevents cascaded properties from overriding Maven system properties that affect repository resolution - Property priority: user properties > system properties > model properties (POM only) - Cascaded properties are cleared after each activation round The full IT suite (1034 tests) passes locally.
cd869f3 to
b4ba025
Compare
Member
|
Is this whole PR only about cascading profile activation? There are mvnup changes for example... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA issue: https://issues.apache.org/jira/browse/MNG-3309