o Moved repository declarations to settings

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@750719 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-03-06 00:48:00 +00:00
parent 6124ec2857
commit dd38b95449
3 changed files with 34 additions and 26 deletions

View File

@ -51,7 +51,7 @@ public void testitFirstMatchWins()
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.setAutoclean( false );
verifier.deleteArtifacts( "org.apache.maven.its.mng3974" );
verifier.filterFile( "settings.xml", "settings.xml", "UTF-8", verifier.newDefaultFilterProperties() );
verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", verifier.newDefaultFilterProperties() );
verifier.getCliOptions().add( "--settings" );
verifier.getCliOptions().add( "settings.xml" );
verifier.executeGoal( "validate" );

View File

@ -47,31 +47,6 @@ under the License.
</dependency>
</dependencies>
<repositories>
<repository>
<!-- This one will be matched by exact id -->
<id>maven-core-it-a</id>
<url>http://maven.apache.org/null</url>
<releases>
<checksumPolicy>ignore</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<!-- This one will be matched by pattern -->
<id>maven-core-it-b</id>
<url>http://maven.apache.org/null</url>
<releases>
<checksumPolicy>ignore</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<plugin>

View File

@ -20,6 +20,39 @@ under the License.
-->
<settings>
<profiles>
<profile>
<id>maven-core-it-repo</id>
<repositories>
<repository>
<!-- This one will be matched by exact id -->
<id>maven-core-it-a</id>
<url>http://maven.apache.org/null</url>
<releases>
<checksumPolicy>ignore</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<!-- This one will be matched by pattern -->
<id>maven-core-it-b</id>
<url>http://maven.apache.org/null</url>
<releases>
<checksumPolicy>ignore</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>maven-core-it-repo</activeProfile>
</activeProfiles>
<mirrors>
<!--
NOTE: The next block of mirrors matches the first test repo by exact id.