mirror of
https://github.com/apache/maven.git
synced 2025-02-23 02:15:50 +00:00
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:
parent
6124ec2857
commit
dd38b95449
@ -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" );
|
||||
|
@ -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>
|
||||
|
@ -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.
|
Loading…
x
Reference in New Issue
Block a user