@Nullable
  public static MavenRepositoryInfo getLocalRepository(Project project) {
    if (project.isDisposed()) return null;
    File repository = MavenProjectsManager.getInstance(project).getLocalRepository();
    return repository == null
           ? null
           : new MavenRepositoryInfo(LOCAL_REPOSITORY_ID, LOCAL_REPOSITORY_ID, repository.getPath(), RepositoryKind.LOCAL);
  }
@Nullable
  public static MavenRepositoryInfo getLocalRepository(Project project)