git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1151737 13f79535-47bb-0310-9956-ffa450edef68tags/archiva-1.4-M1
@@ -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 | |||
} | |||
} | |||
} | |||
} | |||
} |