@Nullable
  public static File resolveGlobalSettingsFile(@NotNull StaticResolvedMavenHomeType mavenHomeType) {
    File directory = getMavenHomeFile(mavenHomeType);
    if (directory == null) return null;
    return new File(new File(directory, CONF_DIR), SETTINGS_XML);
  }
@Nullable
  public static File resolveGlobalSettingsFile(@NotNull StaticResolvedMavenHomeType mavenHomeType)