o Moved repository declarations to settings

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@750816 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-03-06 09:23:04 +00:00
parent 307fd98017
commit 834f51d7fd
7 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ public class MavenITmng2865MirrorWildcardTest
verifier.setAutoclean( false );
verifier.deleteArtifacts( "org.apache.maven.its.mng2865" );
Properties filterProps = verifier.newDefaultFilterProperties();
verifier.filterFile( "settings.xml", "settings.xml", "UTF-8", filterProps );
verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", filterProps );
verifier.getCliOptions().add( "--settings" );
verifier.getCliOptions().add( "settings.xml" );
verifier.executeGoal( "validate" );
@ -70,13 +70,13 @@ public class MavenITmng2865MirrorWildcardTest
public void testitCentralRepo()
throws Exception
{
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2865/test-2" );
File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-2865/test-4" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.setAutoclean( false );
verifier.deleteArtifacts( "org.apache.maven.its.mng2865" );
Properties filterProps = verifier.newDefaultFilterProperties();
verifier.filterFile( "settings.xml", "settings.xml", "UTF-8", filterProps );
verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", filterProps );
verifier.getCliOptions().add( "--settings" );
verifier.getCliOptions().add( "settings.xml" );
verifier.executeGoal( "validate" );

View File

@ -23,7 +23,7 @@ under the License.
<mirrors>
<mirror>
<id>test-mirror</id>
<url>@baseurl@/repo</url>
<url>@baseurl@/../repo</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>