@NotNull
  @Deprecated(forRemoval = true)
  public static File resolveLocalRepository(@Nullable String overriddenLocalRepository,
                                            @Nullable String overriddenMavenHome,
                                            @Nullable String overriddenUserSettingsFile) {
    //noinspection HardCodedStringLiteral
    MavenHomeType type = resolveMavenHomeType(overriddenMavenHome);
    if (type instanceof StaticResolvedMavenHomeType st) {
      return resolveLocalRepository(overriddenLocalRepository, st, overriddenUserSettingsFile);
    }
    throw new IllegalArgumentException("Cannot resolve local repository for wrapped maven, this API is deprecated");
  }
@NotNull
  @Deprecated(forRemoval = true)
  public static File resolveLocalRepository(@Nullable String overriddenLocalRepository,
                                            @Nullable String overriddenMavenHome,
                                            @Nullable String overriddenUserSettingsFile)