[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
This commit is contained in:
Brett Porter 2006-06-08 04:45:07 +00:00
parent f3a4d92ba5
commit 1ef50fd5bd
2 changed files with 2 additions and 6 deletions

View File

@ -298,13 +298,13 @@ public class DefaultProxyManager
private ArtifactRepositoryPolicy getReleasesPolicy() private ArtifactRepositoryPolicy getReleasesPolicy()
{ {
//todo get policy configuration from ProxyConfiguration [!] //todo get policy configuration from ProxyConfiguration
return new ArtifactRepositoryPolicy(); return new ArtifactRepositoryPolicy();
} }
private ArtifactRepositoryPolicy getSnapshotsPolicy() private ArtifactRepositoryPolicy getSnapshotsPolicy()
{ {
//todo get policy configuration from ProxyConfiguration [!] //todo get policy configuration from ProxyConfiguration
return new ArtifactRepositoryPolicy(); return new ArtifactRepositoryPolicy();
} }

View File

@ -28,13 +28,9 @@ import java.util.List;
* Class to represent the configuration file for the proxy * Class to represent the configuration file for the proxy
* *
* @author Edwin Punzalan * @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 class ProxyConfiguration
{ {
public static final String ROLE = ProxyConfiguration.class.getName();
private List repositories = new ArrayList(); private List repositories = new ArrayList();
private String cachePath; private String cachePath;