diff --git a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0011Test.java b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0011Test.java index cae585fb90..d6589d4142 100644 --- a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0011Test.java +++ b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenIT0011Test.java @@ -44,6 +44,9 @@ public class MavenIT0011Test verifier.setAutoclean( false ); verifier.deleteDirectory( "target" ); verifier.deleteArtifacts( "org.apache.maven.its.it0011" ); + 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/it0011/pom.xml b/its/core-it-suite/src/test/resources/it0011/pom.xml index 98f3febd05..28e84cf25f 100644 --- a/its/core-it-suite/src/test/resources/it0011/pom.xml +++ b/its/core-it-suite/src/test/resources/it0011/pom.xml @@ -30,19 +30,6 @@ under the License. Maven Integration Test :: it0011 Test specification of dependency versions via <dependencyManagement/>. - - - maven-core-it - file:///${basedir}/repo - - ignore - - - ignore - - - - org.apache.maven.its.it0011 diff --git a/its/core-it-suite/src/test/resources/it0011/settings-template.xml b/its/core-it-suite/src/test/resources/it0011/settings-template.xml new file mode 100644 index 0000000000..c985d1a689 --- /dev/null +++ b/its/core-it-suite/src/test/resources/it0011/settings-template.xml @@ -0,0 +1,43 @@ + + + + + + + + maven-core-it-repo + + + maven-core-it + @baseurl@/repo + + ignore + + + false + + + + + + + maven-core-it-repo + +