[Backport 4.0.x] [#12288] Pass settings.xml profile properties to LRM#12299
Merged
Conversation
Fixes #12288. Supersedes #12291. Profiles activated through settings.xml (<activeProfiles> or <activation><activeByDefault>true</activeByDefault>) had their <properties> block dropped before the resolver session was built, so aether.* configuration declared in such a profile silently failed. Changes: - Collect activeByDefault profiles for property propagation to LRM - Respect -P !profileId deactivation for activeByDefault profiles - Add ITs for both settings.xml activation channels Co-authored-by: Gerd Aschemann <gerd@aschemann.net>
AbstractMavenIntegrationTestCase on 4.0.x requires a version range string — no no-arg constructor exists (unlike master).
This was referenced Jun 20, 2026
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.
Backport of #12297 to maven-4.0.x.
Fixes #12288 on the 4.0.x branch.
Co-authored-by: Gerd Aschemann gerd@aschemann.net