summaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-02-17 11:36:20 +0000
committerOlivier Lamy <olamy@apache.org>2012-02-17 11:36:20 +0000
commit63964ffef4f608d610b621337e32ed1aace36d91 (patch)
tree3f883899354ec6b4a57d743d94435c621f330292 /archiva-modules/plugins
parent53f479e409b750b2c0c5c883ddd94b9bf0ba72bd (diff)
downloadarchiva-63964ffef4f608d610b621337e32ed1aace36d91.tar.gz
archiva-63964ffef4f608d610b621337e32ed1aace36d91.zip
[MRM-1606] Upgrade to wagon 2.2.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245404 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins')
-rw-r--r--archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java
index e1057bfb8..2bbde57c1 100644
--- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java
+++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/metadata/repository/storage/maven2/RepositoryModelResolver.java
@@ -309,8 +309,9 @@ public class RepositoryModelResolver
// Convert seconds to milliseconds
int timeoutInMilliseconds = remoteRepository.getTimeout() * 1000;
-
+ // FIXME olamy having 2 config values
// Set timeout
+ wagon.setReadTimeout( timeoutInMilliseconds );
wagon.setTimeout( timeoutInMilliseconds );
try