From 1ef50fd5bdebb7f6b1fabc2179fa83a2beed1a03 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Thu, 8 Jun 2006 04:45:07 +0000 Subject: [PATCH] [MRM-118] proxy config is not a component git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412654 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/repository/proxy/DefaultProxyManager.java | 4 ++-- .../repository/proxy/configuration/ProxyConfiguration.java | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/DefaultProxyManager.java b/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/DefaultProxyManager.java index ddac61885..9679aa13d 100644 --- a/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/DefaultProxyManager.java +++ b/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/DefaultProxyManager.java @@ -298,13 +298,13 @@ public class DefaultProxyManager private ArtifactRepositoryPolicy getReleasesPolicy() { - //todo get policy configuration from ProxyConfiguration [!] + //todo get policy configuration from ProxyConfiguration return new ArtifactRepositoryPolicy(); } private ArtifactRepositoryPolicy getSnapshotsPolicy() { - //todo get policy configuration from ProxyConfiguration [!] + //todo get policy configuration from ProxyConfiguration return new ArtifactRepositoryPolicy(); } diff --git a/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java b/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java index b46acd1e0..8a9927159 100644 --- a/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java +++ b/maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java @@ -28,13 +28,9 @@ import java.util.List; * Class to represent the configuration file for the proxy * * @author Edwin Punzalan - * @plexus.component role="org.apache.maven.repository.proxy.configuration.ProxyConfiguration" - * @todo investigate how these should be set - probably plexus configuration [!] */ public class ProxyConfiguration { - public static final String ROLE = ProxyConfiguration.class.getName(); - private List repositories = new ArrayList(); private String cachePath;