with scope "import" Use the full constructor to create the clone, as resolveModel expects remoteRepositories to be not nulltags/archiva-2.1.0
@@ -212,7 +212,8 @@ public class RepositoryModelResolver | |||
@Override | |||
public ModelResolver newCopy() | |||
{ | |||
return new RepositoryModelResolver( basedir, pathTranslator ); | |||
return new RepositoryModelResolver( managedRepository, pathTranslator, wagonFactory, remoteRepositories, | |||
networkProxyMap, targetRepository ); | |||
} | |||
// FIXME: we need to do some refactoring, we cannot re-use the proxy components of archiva-proxy in maven2-repository |