]> source.dussan.org Git - archiva.git/commitdiff
[MRM-118] proxy config is not a component
authorBrett Porter <brett@apache.org>
Thu, 8 Jun 2006 04:45:07 +0000 (04:45 +0000)
committerBrett Porter <brett@apache.org>
Thu, 8 Jun 2006 04:45:07 +0000 (04:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412654 13f79535-47bb-0310-9956-ffa450edef68

maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/DefaultProxyManager.java
maven-repository-proxy/src/main/java/org/apache/maven/repository/proxy/configuration/ProxyConfiguration.java

index ddac61885548a9b120fa57ed462a3f5fefb66674..9679aa13de9fdf4258792761f855b72ae3194106 100644 (file)
@@ -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();
     }
 
index b46acd1e0250ab438f668ea074410bb73e8e1413..8a9927159d1f0cbdabf6cc7b5f1a0f1034e25859 100644 (file)
@@ -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;