You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2026/06/04 16:02:47 UTC
(maven) branch maven-4.0.x updated: [MNG-6772] Re-enable integration test for nested import scope repository override (#11826) (#12231)
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch maven-4.0.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-4.0.x by this push:
new 5ad8e2c798 [MNG-6772] Re-enable integration test for nested import scope repository override (#11826) (#12231)
5ad8e2c798 is described below
commit 5ad8e2c79835e0372d502bed9c31ce1c5a90f11f
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Jun 4 18:02:41 2026 +0200
[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 <no...@anthropic.com>
---
.../maven/it/MavenITmng6772NestedImportScopeRepositoryOverride.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6772NestedImportScopeRepositoryOverride.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6772NestedImportScopeRepositoryOverride.java
index ae8cbe9c19..dec8f72ea1 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6772NestedImportScopeRepositoryOverride.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6772NestedImportScopeRepositoryOverride.java
@@ -20,7 +20,6 @@
import java.io.File;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/**
@@ -33,7 +32,6 @@
* The test confirms that the dominant repository definition (child) wins while resolving the import POMs.
*
*/
-@Disabled // This IT has been disabled until it is decided how the solution shall look like
public class MavenITmng6772NestedImportScopeRepositoryOverride extends AbstractMavenIntegrationTestCase {
public MavenITmng6772NestedImportScopeRepositoryOverride() {