mirror of https://github.com/apache/archiva.git
some more notes
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f70fa209a3
commit
85d48bdf93
|
@ -47,7 +47,9 @@ import java.util.Map;
|
||||||
import java.util.StringTokenizer;
|
import java.util.StringTokenizer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation Class for searching through the index
|
* Implementation Class for searching through the index.
|
||||||
|
*
|
||||||
|
* @todo this is not a component, but extends ALE, meaning logging will throw an exception! -- should be a component
|
||||||
*/
|
*/
|
||||||
public class DefaultRepositoryIndexSearcher
|
public class DefaultRepositoryIndexSearcher
|
||||||
extends AbstractLogEnabled
|
extends AbstractLogEnabled
|
||||||
|
|
|
@ -23,6 +23,7 @@ import org.apache.maven.repository.digest.Digester;
|
||||||
/**
|
/**
|
||||||
* @author Edwin Punzalan
|
* @author Edwin Punzalan
|
||||||
* @plexus.component role="org.apache.maven.repository.indexing.RepositoryIndexingFactory"
|
* @plexus.component role="org.apache.maven.repository.indexing.RepositoryIndexingFactory"
|
||||||
|
* @todo these methods should be replaced by plexus lookups of some kind!
|
||||||
*/
|
*/
|
||||||
public class DefaultRepositoryIndexingFactory
|
public class DefaultRepositoryIndexingFactory
|
||||||
implements RepositoryIndexingFactory
|
implements RepositoryIndexingFactory
|
||||||
|
|
|
@ -53,6 +53,7 @@ import java.util.Map;
|
||||||
* @plexus.component role="org.apache.maven.repository.proxy.ProxyManager"
|
* @plexus.component role="org.apache.maven.repository.proxy.ProxyManager"
|
||||||
* @todo too much of wagon manager is reproduced here because checksums need to be downloaded separately - is that necessary?
|
* @todo too much of wagon manager is reproduced here because checksums need to be downloaded separately - is that necessary?
|
||||||
* @todo this isn't reusing the parts of wagon manager than handle snapshots [!]
|
* @todo this isn't reusing the parts of wagon manager than handle snapshots [!]
|
||||||
|
* @todo currently, cache must be in the same layout as the request, which prohibits any mapping
|
||||||
*/
|
*/
|
||||||
public class DefaultProxyManager
|
public class DefaultProxyManager
|
||||||
extends AbstractLogEnabled
|
extends AbstractLogEnabled
|
||||||
|
|
|
@ -122,7 +122,10 @@ public class MavenProxyPropertyLoader
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void validateRemoteRepo( ProxyConfiguration configuration )
|
/**
|
||||||
|
* @todo should be shared with any other configuration loader - move method to configuration?
|
||||||
|
*/
|
||||||
|
private static void validateRemoteRepo( ProxyConfiguration configuration )
|
||||||
throws ValidationException
|
throws ValidationException
|
||||||
{
|
{
|
||||||
//Verify remote repository set
|
//Verify remote repository set
|
||||||
|
@ -171,7 +174,10 @@ public class MavenProxyPropertyLoader
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void validateDirectories( ProxyConfiguration configuration )
|
/**
|
||||||
|
* @todo should be shared with any other configuration loader - move method to configuration?
|
||||||
|
*/
|
||||||
|
private static void validateDirectories( ProxyConfiguration configuration )
|
||||||
throws ValidationException
|
throws ValidationException
|
||||||
{
|
{
|
||||||
File f = new File( configuration.getRepositoryCachePath() );
|
File f = new File( configuration.getRepositoryCachePath() );
|
||||||
|
|
Loading…
Reference in New Issue