diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1233WarDepWithProvidedScopeTest.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1233WarDepWithProvidedScopeTest.java index 112c74646f..5b9ab40d64 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1233WarDepWithProvidedScopeTest.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1233WarDepWithProvidedScopeTest.java @@ -51,6 +51,9 @@ public class MavenITmng1233WarDepWithProvidedScopeTest verifier.setAutoclean( false ); verifier.deleteDirectory( "target" ); verifier.deleteArtifacts( "org.apache.maven.its.it0083" ); + 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-1233/pom.xml b/its/core-it-suite/src/test/resources/mng-1233/pom.xml index 358f568d8f..a143bf0ac9 100644 --- a/its/core-it-suite/src/test/resources/mng-1233/pom.xml +++ b/its/core-it-suite/src/test/resources/mng-1233/pom.xml @@ -32,19 +32,6 @@ under the License. Verify that overriding a transitive compile time dependency as provided in a WAR ensures it is not included. - - - maven-core-it - file:///${basedir}/repo - - ignore - - - ignore - - - - org.apache.maven.its.it0083 diff --git a/its/core-it-suite/src/test/resources/mng-1233/settings-template.xml b/its/core-it-suite/src/test/resources/mng-1233/settings-template.xml new file mode 100644 index 0000000000..c985d1a689 --- /dev/null +++ b/its/core-it-suite/src/test/resources/mng-1233/settings-template.xml @@ -0,0 +1,43 @@ + + + + + + + + maven-core-it-repo + + + maven-core-it + @baseurl@/repo + + ignore + + + false + + + + + + + maven-core-it-repo + +