[MRM-1503] use wagon-http instead of wagon-http-lightweight (as it change proxy network system properties)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160694 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-08-23 13:55:11 +00:00
parent 97f001e967
commit 95e2f5b636
6 changed files with 28 additions and 10 deletions

View File

@ -44,6 +44,14 @@
<dependency> <dependency>
<groupId>org.apache.maven</groupId> <groupId>org.apache.maven</groupId>
<artifactId>maven-artifact-manager</artifactId> <artifactId>maven-artifact-manager</artifactId>
<!-- olamy : weird enforcer doesn't have it but failed IMHO issue in enforcer plugin !!
<exclusions>
<exclusion>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-provider-api</artifactId>
</exclusion>
</exclusions>
-->
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.archiva</groupId> <groupId>org.apache.archiva</groupId>

View File

@ -9,9 +9,6 @@
</parent> </parent>
<artifactId>archiva-proxy-common</artifactId> <artifactId>archiva-proxy-common</artifactId>
<name>Archiva Base :: Proxy Common</name> <name>Archiva Base :: Proxy Common</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.archiva</groupId> <groupId>org.apache.archiva</groupId>
@ -28,8 +25,14 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven.wagon</groupId> <groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-lightweight</artifactId> <artifactId>wagon-http</artifactId>
<scope>test</scope> <scope>test</scope>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-logging</groupId> <groupId>commons-logging</groupId>

View File

@ -109,9 +109,15 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven.wagon</groupId> <groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-lightweight</artifactId> <artifactId>wagon-http</artifactId>
<version>${wagon.version}</version> <version>${wagon.version}</version>
<scope>test</scope> <scope>test</scope>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>

View File

@ -348,7 +348,7 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven.wagon</groupId> <groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-lightweight</artifactId> <artifactId>wagon-http</artifactId>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -134,7 +134,7 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven.wagon</groupId> <groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-lightweight</artifactId> <artifactId>wagon-http</artifactId>
<scope>test</scope> <scope>test</scope>
<exclusions> <exclusions>
<!-- This triggers httpunit to use it instead, but it doesn't work --> <!-- This triggers httpunit to use it instead, but it doesn't work -->

View File

@ -996,12 +996,12 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.maven.wagon</groupId> <groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-http-lightweight</artifactId> <artifactId>wagon-http</artifactId>
<version>${wagon.version}</version> <version>${wagon.version}</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>nekohtml</groupId> <groupId>commons-logging</groupId>
<artifactId>xercesMinimal</artifactId> <artifactId>commons-logging</artifactId>
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
@ -1331,6 +1331,7 @@
<exclude>org.codehaus.plexus.registry:plexus-registry-api</exclude> <exclude>org.codehaus.plexus.registry:plexus-registry-api</exclude>
<exclude>org.codehaus.plexus.registry:plexus-registry-commons</exclude> <exclude>org.codehaus.plexus.registry:plexus-registry-commons</exclude>
<exclude>>org.codehaus.plexus:plexus-taskqueue</exclude> <exclude>>org.codehaus.plexus:plexus-taskqueue</exclude>
<exclude>org.apache.maven.wagon:wagon-http-lightweight</exclude>
</excludes> </excludes>
</bannedDependencies> </bannedDependencies>
</rules> </rules>