Skip to content

[MNG-6772] Re-enable integration test for nested import scope repository override#11826

Open
gnodet wants to merge 1 commit intomasterfrom
fix/enable-mng6772-it
Open

[MNG-6772] Re-enable integration test for nested import scope repository override#11826
gnodet wants to merge 1 commit intomasterfrom
fix/enable-mng6772-it

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented Mar 23, 2026

Summary

  • Re-enable MavenITmng6772NestedImportScopeRepositoryOverride integration test that was @Disabled since April 2021
  • Maven 4's session-based model builder architecture fixes the root cause: user-configured repository overrides (including central ID overrides) are now properly propagated through nested import scope resolution
  • Verified both test scenarios (testitInProject and testitInDependency) pass on Maven 4

Fixes #8494, fixes #7816

Test plan

  • Manual verification: both test scenarios pass against Maven 4.1.0-SNAPSHOT
  • CI validation via this PR

🤖 Generated with Claude Code

…ory override

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant