Skip to content

Commit 5ad8e2c

Browse files
gnodetclaude
andauthored
[MNG-6772] Re-enable integration test for nested import scope repository override (#11826) (#12231)
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>
1 parent c8abb9c commit 5ad8e2c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6772NestedImportScopeRepositoryOverride.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
import java.io.File;
2222

23-
import org.junit.jupiter.api.Disabled;
2423
import org.junit.jupiter.api.Test;
2524

2625
/**
@@ -33,7 +32,6 @@
3332
* The test confirms that the dominant repository definition (child) wins while resolving the import POMs.
3433
*
3534
*/
36-
@Disabled // This IT has been disabled until it is decided how the solution shall look like
3735
public class MavenITmng6772NestedImportScopeRepositoryOverride extends AbstractMavenIntegrationTestCase {
3836

3937
public MavenITmng6772NestedImportScopeRepositoryOverride() {

0 commit comments

Comments
 (0)