Skip to content

[4.0.x] [MNG-6772] Re-enable integration test for nested import scope repository override#12231

Merged
gnodet merged 1 commit into
apache:maven-4.0.xfrom
gnodet:cherry-pick-11826-to-4.0.x
Jun 4, 2026
Merged

[4.0.x] [MNG-6772] Re-enable integration test for nested import scope repository override#12231
gnodet merged 1 commit into
apache:maven-4.0.xfrom
gnodet:cherry-pick-11826-to-4.0.x

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented Jun 4, 2026

Cherry-pick of #11826

…ory override (apache#11826)

The test was disabled in 2021 after the fix was reverted twice.
Maven 4's session-based architecture fixes the root cause: the new
DefaultModelBuilder properly propagates user-configured repositories
(including central overrides) through nested import scope resolution.

Both test scenarios (testitInProject and testitInDependency) now pass.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet merged commit 5ad8e2c into apache:maven-4.0.x Jun 4, 2026
1 check passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2026

@gnodet Please assign appropriate label to PR according to the type of change.

@github-actions github-actions Bot added this to the 4.0.0-rc-6 milestone Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant