From: Brett Porter Date: Fri, 11 Aug 2006 08:37:04 +0000 (+0000) Subject: [MRM-138] add HTTP proxy configuration X-Git-Tag: archiva-0.9-alpha-1~697 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1b3454c564d80d83d074fc53f2a8576a2a252b7e;p=archiva.git [MRM-138] add HTTP proxy configuration git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@430724 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/maven-repository-configuration/src/main/mdo/configuration.mdo b/maven-repository-configuration/src/main/mdo/configuration.mdo index 8ab1540e5..adb3f365a 100644 --- a/maven-repository-configuration/src/main/mdo/configuration.mdo +++ b/maven-repository-configuration/src/main/mdo/configuration.mdo @@ -86,6 +86,14 @@ String Blacklisted patterns in the discovery process + + proxy + 1.0.0 + + Proxy + + The network proxy to use for outgoing requests. + @@ -344,6 +352,15 @@ The interval in minutes before updating releases if the policy is set to 'interval'. + + useNetworkProxy + 1.0.0 + boolean + false + + Whether to use the network proxy, if one is configured for the protocol of this repository. + + @@ -388,6 +405,53 @@ + + Proxy + 1.0.0 + + + protocol + 1.0.0 + + String + http + + + username + 1.0.0 + + String + + + password + 1.0.0 + + String + + + port + 1.0.0 + + int + 8080 + + + host + 1.0.0 + + String + true + + + nonProxyHosts + 1.0.0 + + String + + + diff --git a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/configure.jsp b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/configure.jsp index cc361e8da..725e4be7d 100644 --- a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/configure.jsp +++ b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/configure.jsp @@ -31,6 +31,11 @@ + + + + + diff --git a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/include/proxiedRepositoryForm.jspf b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/include/proxiedRepositoryForm.jspf index b98151289..9847610b2 100644 --- a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/include/proxiedRepositoryForm.jspf +++ b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/include/proxiedRepositoryForm.jspf @@ -14,6 +14,7 @@ ~ limitations under the License. --%> +<%@ taglib prefix="ww" uri="/webwork" %> - \ No newline at end of file + + diff --git a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/index.jsp b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/index.jsp index 29a611889..d0a9198a0 100644 --- a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/index.jsp +++ b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/index.jsp @@ -49,6 +49,26 @@ + + +

HTTP Proxy

+ + + + + + + + + + + + + + +
Host${proxy.host}
Port${proxy.port}
Username${proxy.username}
+
+

">Edit Configuration

diff --git a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/proxiedRepositories.jsp b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/proxiedRepositories.jsp index 447c03ee8..c82435552 100644 --- a/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/proxiedRepositories.jsp +++ b/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/admin/proxiedRepositories.jsp @@ -123,6 +123,17 @@ (${repositoriesMap[repository.managedRepository].id}) + + Use HTTP Proxy + + + NO + + + YES + + +