mirror of https://github.com/apache/maven.git
o Moved repository declarations to settings
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@750651 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c3f2a06650
commit
707a19699f
|
@ -51,7 +51,7 @@ public class MavenITmng0505VersionRangeTest
|
||||||
verifier.setAutoclean( false );
|
verifier.setAutoclean( false );
|
||||||
verifier.deleteDirectory( "target" );
|
verifier.deleteDirectory( "target" );
|
||||||
verifier.deleteArtifacts( "org.apache.maven.its.mng0505" );
|
verifier.deleteArtifacts( "org.apache.maven.its.mng0505" );
|
||||||
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" );
|
||||||
verifier.getCliOptions().add( "settings.xml" );
|
verifier.getCliOptions().add( "settings.xml" );
|
||||||
verifier.executeGoal( "validate" );
|
verifier.executeGoal( "validate" );
|
||||||
|
|
|
@ -31,19 +31,6 @@ under the License.
|
||||||
Test version range support.
|
Test version range support.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<repositories>
|
|
||||||
<repository>
|
|
||||||
<id>maven-core-it</id>
|
|
||||||
<url>file:///${basedir}/repo</url>
|
|
||||||
<releases>
|
|
||||||
<checksumPolicy>ignore</checksumPolicy>
|
|
||||||
</releases>
|
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
</repository>
|
|
||||||
</repositories>
|
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.maven.its.mng0505</groupId>
|
<groupId>org.apache.maven.its.mng0505</groupId>
|
||||||
|
|
|
@ -20,15 +20,25 @@ under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<settings>
|
<settings>
|
||||||
<!--
|
<profiles>
|
||||||
Make sure the test queries only the test repo.
|
<profile>
|
||||||
-->
|
<id>maven-core-it-repo</id>
|
||||||
<mirrors>
|
<repositories>
|
||||||
<mirror>
|
<repository>
|
||||||
<id>mng-0505</id>
|
<!-- NOTE: Override central to make sure the test queries only the test repo -->
|
||||||
<name>mng-0505</name>
|
<id>central</id>
|
||||||
<url>@baseurl@/target/null</url>
|
<url>@baseurl@/repo</url>
|
||||||
<mirrorOf>central</mirrorOf>
|
<releases>
|
||||||
</mirror>
|
<checksumPolicy>ignore</checksumPolicy>
|
||||||
</mirrors>
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
<activeProfiles>
|
||||||
|
<activeProfile>maven-core-it-repo</activeProfile>
|
||||||
|
</activeProfiles>
|
||||||
</settings>
|
</settings>
|
Loading…
Reference in New Issue