mirror of https://github.com/apache/archiva.git
add some comments about areas that can be improved when proxy sits behind the repository API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1151737 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e18b216a5
commit
1e8ff1265f
|
@ -180,6 +180,8 @@ public class DefaultDependencyTreeBuilder
|
|||
try
|
||||
{
|
||||
// MRM-1411
|
||||
// TODO: this is a workaround for a lack of proxy capability in the resolvers - replace when it can all be
|
||||
// handled there. It doesn't cache anything locally!
|
||||
List< RemoteRepositoryConfiguration > remoteRepositories = new ArrayList<RemoteRepositoryConfiguration>();
|
||||
Map<String, ProxyInfo > networkProxies = new HashMap<String, ProxyInfo>();
|
||||
|
||||
|
|
|
@ -174,6 +174,8 @@ public class Maven2RepositoryStorage
|
|||
"The artifact's POM file '" + file.getAbsolutePath() + "' was missing" );
|
||||
}
|
||||
|
||||
// TODO: this is a workaround until we can properly resolve using proxies as well - this doesn't cache
|
||||
// anything locally!
|
||||
List<RemoteRepositoryConfiguration> remoteRepositories = new ArrayList<RemoteRepositoryConfiguration>();
|
||||
Map<String, ProxyInfo> networkProxies = new HashMap<String, ProxyInfo>();
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@ public class RepositoryModelResolver
|
|||
return new RepositoryModelResolver( basedir, pathTranslator );
|
||||
}
|
||||
|
||||
// TODO: we need to do some refactoring, we cannot re-use the proxy components of archiva-proxy in maven2-repository
|
||||
// FIXME: we need to do some refactoring, we cannot re-use the proxy components of archiva-proxy in maven2-repository
|
||||
// because it's causing a cyclic dependency
|
||||
private boolean getModelFromProxy( RemoteRepositoryConfiguration remoteRepository, String groupId,
|
||||
String artifactId, String version, String filename )
|
||||
|
@ -398,4 +398,4 @@ public class RepositoryModelResolver
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue