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:
Brett Porter 2006-06-07 08:19:57 +00:00
parent f70fa209a3
commit 85d48bdf93
4 changed files with 13 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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() );