diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3586SystemScopePluginDependencyTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3586SystemScopePluginDependencyTest.java
index 584a31d395..ce5bb9151b 100644
--- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3586SystemScopePluginDependencyTest.java
+++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3586SystemScopePluginDependencyTest.java
@@ -54,6 +54,9 @@ public class MavenITmng3586SystemScopePluginDependencyTest
verifier.deleteDirectory( "target" );
verifier.deleteArtifacts( "org.apache.maven.its.mng3586" );
verifier.getSystemProperties().setProperty( "test.home", testDir.getAbsolutePath() );
+ 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-3586/test-1/pom.xml b/its/core-it-suite/src/test/resources/mng-3586/test-1/pom.xml
index e265e3d19a..42d15befde 100644
--- a/its/core-it-suite/src/test/resources/mng-3586/test-1/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-3586/test-1/pom.xml
@@ -31,31 +31,6 @@ under the License.
Test that plugin dependencies with scope system are part of the plugin class realm.
-
-
- 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-3586/test-1/settings-template.xml b/its/core-it-suite/src/test/resources/mng-3586/test-1/settings-template.xml
new file mode 100644
index 0000000000..cde4215860
--- /dev/null
+++ b/its/core-it-suite/src/test/resources/mng-3586/test-1/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
+
+