summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-scheduler/archiva-scheduler-indexing
diff options
context:
space:
mode:
authorEduardo Souza <eduardomatosouza@gmail.com>2015-06-11 20:18:45 -0300
committerEduardo Souza <eduardomatosouza@gmail.com>2015-06-11 20:18:45 -0300
commit01f9aad6176656bf6a0bf010c65cd265c87cf62b (patch)
treef2a2c4798c9eefda745b8ef4886d63d5fffe6db1 /archiva-modules/archiva-scheduler/archiva-scheduler-indexing
parent67e9340daa1b40066b267f02b70d1a45f9196efb (diff)
downloadarchiva-01f9aad6176656bf6a0bf010c65cd265c87cf62b.tar.gz
archiva-01f9aad6176656bf6a0bf010c65cd265c87cf62b.zip
[MRM-1861] Proxy behaviour issue migrating from 1.3.x to 2.x
Diffstat (limited to 'archiva-modules/archiva-scheduler/archiva-scheduler-indexing')
-rw-r--r--archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java
index 6a9a39624..f8fd42a24 100644
--- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java
+++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java
@@ -156,6 +156,7 @@ public class DownloadRemoteIndexTask
if ( this.networkProxy != null )
{
proxyInfo = new ProxyInfo();
+ proxyInfo.setType( this.networkProxy.getProtocol() );
proxyInfo.setHost( this.networkProxy.getHost() );
proxyInfo.setPort( this.networkProxy.getPort() );
proxyInfo.setUserName( this.networkProxy.getUsername() );