List<ArtifactRepository> (List<MavenRemoteRepository> repositories) { List<ArtifactRepository> result = map2ArtifactRepositories(repositories); if (getComponent(LegacySupport.class).getRepositorySession() == null) { myRepositorySystem.injectMirror(result, myMavenSettings.getMirrors()); } return result; }