MavenRepositoryInfo (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(), IndexKind.LOCAL); }