ProjectCoordinate (Module module) { if (!ExternalSystemModulePropertyManager.getInstance(module).isMavenized()) { return null; } MavenProject mavenProject = MavenProjectsManager.getInstance(module.getProject()).findProject(module); if (mavenProject != null) { MavenId mavenId = mavenProject.getMavenId(); return new ProjectId(mavenId.getGroupId(), mavenId.getArtifactId(), mavenId.getVersion()); } return null; }