fix it with an empty repo: force download locally of dependencies use in it

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1177447 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-09-29 22:06:03 +00:00
parent 44b5fdad5e
commit 427d3bcbe8
3 changed files with 16 additions and 9 deletions

View File

@ -181,6 +181,21 @@ under the License.
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<dependencies>
<!-- not really used but will force download in the local repo used -->
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile> </profile>
<profile> <profile>
<id>maven-repo-local</id> <id>maven-repo-local</id>

View File

@ -97,8 +97,7 @@ public class MavenITmng2305MultipleProxiesTest
verifier.setSystemProperty( "javax.net.ssl.trustStore", storePath ); verifier.setSystemProperty( "javax.net.ssl.trustStore", storePath );
verifier.setSystemProperty( "javax.net.ssl.trustStorePassword", storePwd ); verifier.setSystemProperty( "javax.net.ssl.trustStorePassword", storePwd );
// disable concurrent downloading as not all wagons (e.g. wagon-lightweight-http) are thread-safe regarding proxy settings // disable concurrent downloading as not all wagons (e.g. wagon-lightweight-http) are thread-safe regarding proxy settings
// olamy restore concurrent as wagon-http is now thread safe regarding and add an extension in the it pom verifier.setSystemProperty( "maven.artifact.threads", "1" );
verifier.setSystemProperty( "maven.artifact.threads", "3" );
verifier.executeGoal( "validate" ); verifier.executeGoal( "validate" );
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();

View File

@ -47,13 +47,6 @@ under the License.
</dependencies> </dependencies>
<build> <build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http</artifactId>
<version>2.0</version>
</extension>
</extensions>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.its.plugins</groupId> <groupId>org.apache.maven.its.plugins</groupId>