@ApiStatus.Internal
  public static synchronized ArtifactRepositoryManager getRepositoryManager(final CompileContext context) {
    try {
      return getRepositoryManager(context, null);
    }
    catch (RemoteRepositoryNotFoundException e) {
      LOG.error("RemoteRepositoryNotFoundException should not be thrown here", e);
      throw new RuntimeException(e);
    }
  }
@ApiStatus.Internal
  public static synchronized ArtifactRepositoryManager getRepositoryManager(final CompileContext context)