From: Fabrice Bellingard Date: Wed, 30 May 2007 11:54:13 +0000 (+0000) Subject: [MRM-405] Archiva can't connect to remote repositories if they are behind a network... X-Git-Tag: archiva-1.0-alpha-1~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4d8738d248207e36b29f6338acb656888118b8ee;p=archiva.git [MRM-405] Archiva can't connect to remote repositories if they are behind a network proxy git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542803 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java b/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java index c23f80233..11c94e2f5 100644 --- a/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java +++ b/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java @@ -660,6 +660,7 @@ public class DefaultRepositoryProxyConnectors ProxyConnector connector = new ProxyConnector(); connector.setSourceRepository( getRepository( proxyConfig.getSourceRepoId() ) ); connector.setTargetRepository( getRepository( proxyConfig.getTargetRepoId() ) ); + connector.setProxyId( proxyConfig.getProxyId() ); connector.setPolicies( proxyConfig.getPolicies() ); // Copy any blacklist patterns.