diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3814BogusProjectCycleTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3814BogusProjectCycleTest.java
index d70c87b7fc..c71ed6c501 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3814BogusProjectCycleTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3814BogusProjectCycleTest.java
@@ -42,7 +42,7 @@ public class MavenITmng3814BogusProjectCycleTest
/**
* Verify that the reactor's project sorter considers artifact versions when checking for cycles.
*/
- public void testitMNG3813()
+ public void testitMNG3814()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-3814" );
@@ -50,6 +50,9 @@ public class MavenITmng3814BogusProjectCycleTest
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.setAutoclean( false );
verifier.deleteArtifacts( "org.apache.maven.its.mng3814" );
+ verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", verifier.newDefaultFilterProperties() );
+ verifier.getCliOptions().add( "--settings" );
+ verifier.getCliOptions().add( "settings.xml" );
verifier.executeGoal( "validate" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
diff --git a/its/core-it-suite/src/test/resources/mng-3814/plugin-a/pom.xml b/its/core-it-suite/src/test/resources/mng-3814/plugin-a/pom.xml
index ca60ca305d..da8d2a31a5 100644
--- a/its/core-it-suite/src/test/resources/mng-3814/plugin-a/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3814/plugin-a/pom.xml
@@ -33,31 +33,6 @@ under the License.
2.0-SNAPSHOT
maven-plugin
-
-
- maven-core-it
- file:///${basedir}/repo
-
- ignore
-
-
- ignore
-
-
-
-
-
- maven-core-it
- file:///${basedir}/repo
-
- ignore
-
-
- ignore
-
-
-
-
diff --git a/its/core-it-suite/src/test/resources/mng-3814/plugin-a/repo/org/apache/maven/its/mng3814/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-3814/plugin-a/repo/org/apache/maven/its/mng3814/maven-metadata.xml
deleted file mode 100644
index 2165933774..0000000000
--- a/its/core-it-suite/src/test/resources/mng-3814/plugin-a/repo/org/apache/maven/its/mng3814/maven-metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Unnamed - org.apache.maven.its.mng3814:maven-mng3814b-plugin:maven-plugin:1.0
- mng3814b
- maven-mng3814b-plugin
-
-
-
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3814/plugin-b/pom.xml b/its/core-it-suite/src/test/resources/mng-3814/plugin-b/pom.xml
index c4d62d8e0b..110d10cb5a 100644
--- a/its/core-it-suite/src/test/resources/mng-3814/plugin-b/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3814/plugin-b/pom.xml
@@ -33,31 +33,6 @@ under the License.
2.0-SNAPSHOT
maven-plugin
-
-
- maven-core-it
- file:///${basedir}/repo
-
- ignore
-
-
- ignore
-
-
-
-
-
- maven-core-it
- file:///${basedir}/repo
-
- ignore
-
-
- ignore
-
-
-
-
diff --git a/its/core-it-suite/src/test/resources/mng-3814/plugin-b/repo/org/apache/maven/its/mng3814/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-3814/plugin-b/repo/org/apache/maven/its/mng3814/maven-metadata.xml
deleted file mode 100644
index 4474ee0eaf..0000000000
--- a/its/core-it-suite/src/test/resources/mng-3814/plugin-b/repo/org/apache/maven/its/mng3814/maven-metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Unnamed - org.apache.maven.its.mng3814:maven-mng3814a-plugin:maven-plugin:1.0
- mng3814a
- maven-mng3814a-plugin
-
-
-
\ No newline at end of file
diff --git a/its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-metadata.xml
new file mode 100644
index 0000000000..a009f158d0
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-metadata.xml
@@ -0,0 +1,15 @@
+
+
+
+
+ Unnamed - org.apache.maven.its.mng3814:maven-mng3814a-plugin:maven-plugin:1.0
+ mng3814a
+ maven-mng3814a-plugin
+
+
+ Unnamed - org.apache.maven.its.mng3814:maven-mng3814b-plugin:maven-plugin:1.0
+ mng3814b
+ maven-mng3814b-plugin
+
+
+
diff --git a/its/core-it-suite/src/test/resources/mng-3814/plugin-b/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/1.0/maven-mng3814a-plugin-1.0.jar b/its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/1.0/maven-mng3814a-plugin-1.0.jar
similarity index 100%
rename from its/core-it-suite/src/test/resources/mng-3814/plugin-b/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/1.0/maven-mng3814a-plugin-1.0.jar
rename to its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/1.0/maven-mng3814a-plugin-1.0.jar
diff --git a/its/core-it-suite/src/test/resources/mng-3814/plugin-b/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/1.0/maven-mng3814a-plugin-1.0.pom b/its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/1.0/maven-mng3814a-plugin-1.0.pom
similarity index 100%
rename from its/core-it-suite/src/test/resources/mng-3814/plugin-b/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/1.0/maven-mng3814a-plugin-1.0.pom
rename to its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/1.0/maven-mng3814a-plugin-1.0.pom
diff --git a/its/core-it-suite/src/test/resources/mng-3814/plugin-b/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/maven-metadata.xml
similarity index 100%
rename from its/core-it-suite/src/test/resources/mng-3814/plugin-b/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/maven-metadata.xml
rename to its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814a-plugin/maven-metadata.xml
diff --git a/its/core-it-suite/src/test/resources/mng-3814/plugin-a/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/1.0/maven-mng3814b-plugin-1.0.jar b/its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/1.0/maven-mng3814b-plugin-1.0.jar
similarity index 100%
rename from its/core-it-suite/src/test/resources/mng-3814/plugin-a/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/1.0/maven-mng3814b-plugin-1.0.jar
rename to its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/1.0/maven-mng3814b-plugin-1.0.jar
diff --git a/its/core-it-suite/src/test/resources/mng-3814/plugin-a/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/1.0/maven-mng3814b-plugin-1.0.pom b/its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/1.0/maven-mng3814b-plugin-1.0.pom
similarity index 100%
rename from its/core-it-suite/src/test/resources/mng-3814/plugin-a/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/1.0/maven-mng3814b-plugin-1.0.pom
rename to its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/1.0/maven-mng3814b-plugin-1.0.pom
diff --git a/its/core-it-suite/src/test/resources/mng-3814/plugin-a/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/maven-metadata.xml b/its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/maven-metadata.xml
similarity index 100%
rename from its/core-it-suite/src/test/resources/mng-3814/plugin-a/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/maven-metadata.xml
rename to its/core-it-suite/src/test/resources/mng-3814/repo/org/apache/maven/its/mng3814/maven-mng3814b-plugin/maven-metadata.xml
diff --git a/its/core-it-suite/src/test/resources/mng-3814/settings-template.xml b/its/core-it-suite/src/test/resources/mng-3814/settings-template.xml
new file mode 100644
index 0000000000..cde4215860
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3814/settings-template.xml
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+ maven-core-it-repo
+
+
+ maven-core-it
+ @baseurl@/repo
+
+ ignore
+
+
+ false
+
+
+
+
+
+ maven-core-it
+ @baseurl@/repo
+
+ ignore
+
+
+ false
+
+
+
+
+
+
+ maven-core-it-repo
+
+