mirror of https://github.com/apache/archiva.git
[MRM-1833] Nullpointer when browsing artifacts which have dependencies
with scope "import" Use the full constructor to create the clone, as resolveModel expects remoteRepositories to be not null
This commit is contained in:
parent
588f40d0d3
commit
6790e2a82f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue