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