@Nullable
  private static VirtualFile doResolveSuperPomFile(@NotNull File libDir, String superPomName) {
    File[] libraries = libDir.listFiles();
    if (libraries == null) return null;

    for (File library : libraries) {
      if ((library.getName().startsWith("maven-model-builder-") && library.getName().endsWith(".jar"))) {
        VirtualFile result = tryReadFromLib(library, "org/apache/maven/model/" + superPomName);
        if (result != null) {
          return result;
        }
      }
      else if ((library.getName().startsWith("maven-") && library.getName().endsWith("-uber.jar"))) {
        //old maven versions
        VirtualFile result = tryReadFromLib(library, "org/apache/maven/project/" + superPomName);
        if (result != null) {
          return result;
        }
      }
    }
    return null;
  }
@Nullable
  private static VirtualFile doResolveSuperPomFile(@NotNull File libDir, String superPomName)