maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r759550 - in /maven/components/trunk: maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java maven-repository/src/main/java/org/apache/maven/repository/LegacyRepositorySystem.java
Date Sat, 28 Mar 2009 18:57:12 GMT
Author: bentmann
Date: Sat Mar 28 18:57:11 2009
New Revision: 759550

URL: http://svn.apache.org/viewvc?rev=759550&view=rev
Log:
o Fixed propagation of proxy settings

Modified:
    maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java
    maven/components/trunk/maven-repository/src/main/java/org/apache/maven/repository/LegacyRepositorySystem.java

Modified: maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java?rev=759550&r1=759549&r2=759550&view=diff
==============================================================================
--- maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java
(original)
+++ maven/components/trunk/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java
Sat Mar 28 18:57:11 2009
@@ -88,4 +88,6 @@
 
     void addAuthenticationInfo( String repositoryId, String username, String password, String
privateKey, String passphrase );
 
+    void addProxy( String protocol, String host, int port, String username, String password,
String nonProxyHosts );
+
 }

Modified: maven/components/trunk/maven-repository/src/main/java/org/apache/maven/repository/LegacyRepositorySystem.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-repository/src/main/java/org/apache/maven/repository/LegacyRepositorySystem.java?rev=759550&r1=759549&r2=759550&view=diff
==============================================================================
--- maven/components/trunk/maven-repository/src/main/java/org/apache/maven/repository/LegacyRepositorySystem.java
(original)
+++ maven/components/trunk/maven-repository/src/main/java/org/apache/maven/repository/LegacyRepositorySystem.java
Sat Mar 28 18:57:11 2009
@@ -398,6 +398,8 @@
         proxyInfo.setPassword( password );
 
         proxies.put( protocol, proxyInfo );
+
+        wagonManager.addProxy( protocol, host, port, username, password, nonProxyHosts );
     }
 
     public void addAuthenticationInfo( String repositoryId, String username, String password,
String privateKey,



Mime
View raw message