mirror of https://github.com/apache/archiva.git
[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:
parent
f3a4d92ba5
commit
1ef50fd5bd
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue