mirrors.add( mirror );
}
MirrorSelector getMirrorSelector()
{
DefaultMirrorSelector selector = new DefaultMirrorSelector();
for ( Mirror mirror : mirrors )
{
selector.add( mirror.getId(), mirror.getUrl(), "default", true, mirror.getMirrorOf(), null );
}
Settings settings = getSettings();
for ( org.apache.maven.settings.Mirror mirror : settings.getMirrors() )
{
selector.add( String.valueOf( mirror.getId() ), mirror.getUrl(), mirror.getLayout(), true,
mirror.getMirrorOf(), mirror.getMirrorOfLayouts() );
}
return selector;
}