From 012e123ddd2753eaeee859e1b5d3318324e2fe22 Mon Sep 17 00:00:00 2001 From: Florian Zschocke Date: Thu, 11 Apr 2013 14:00:44 +0200 Subject: [PATCH] Comment out setProxy() to skip use of proxy. We don't want to access our Nexus through a proxy. Circumvent the issue #1 that the no proxy hosts setting is not used. --- .../plugins/repoclient/client/MavenRepositoryClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jenkinsci/plugins/repoclient/client/MavenRepositoryClient.java b/src/main/java/org/jenkinsci/plugins/repoclient/client/MavenRepositoryClient.java index 242a330..c08d617 100644 --- a/src/main/java/org/jenkinsci/plugins/repoclient/client/MavenRepositoryClient.java +++ b/src/main/java/org/jenkinsci/plugins/repoclient/client/MavenRepositoryClient.java @@ -278,7 +278,7 @@ private static HttpMethod createGetMethod(String url) { private static HttpClient createHttpClient(String username, String password) { HttpClient client = new HttpClient(); - setProxy(client); + //setProxy(client); // establish a connection within 10 seconds client.getHttpConnectionManager().getParams()