public static boolean isMavenProjectFile(VirtualFile file) {
    return file != null && !file.isDirectory()
           && file.isInLocalFileSystem()
           && MavenUtil.isPomFile(file);
  }
public static boolean isMavenProjectFile(VirtualFile file)