mirror of https://github.com/apache/maven.git
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:
parent
44b5fdad5e
commit
427d3bcbe8
|
@ -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>
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue