mirror of https://github.com/apache/archiva.git
[MRM-394] default remote repositories central, java.net are not available in remote repositories list
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543454 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
161bad1243
commit
6cc21f2daf
|
@ -40,6 +40,7 @@ import org.codehaus.plexus.registry.Registry;
|
|||
import org.codehaus.plexus.registry.RegistryListener;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
@ -175,9 +176,9 @@ public class RepositoryProjectModelResolverFactory
|
|||
resolverMap.clear();
|
||||
|
||||
List configRepos = archivaConfiguration.getConfiguration().getRepositories();
|
||||
CollectionUtils.filter( configRepos, LocalRepositoryPredicate.getInstance() );
|
||||
Collection configLocalRepos = CollectionUtils.select( configRepos, LocalRepositoryPredicate.getInstance() );
|
||||
|
||||
Iterator it = configRepos.iterator();
|
||||
Iterator it = configLocalRepos.iterator();
|
||||
while ( it.hasNext() )
|
||||
{
|
||||
RepositoryConfiguration repoconfig = (RepositoryConfiguration) it.next();
|
||||
|
|
Loading…
Reference in New Issue