@Override
  public boolean indexExists(File dir, MavenToken token) throws RemoteException {
    MavenServerUtil.checkToken(token);
    try {
      return IndexReader.indexExists(dir);
    }
    catch (Exception e) {
      MavenServerGlobals.getLogger().warn(e);
    }
    return false;
  }
@Override
  public boolean indexExists(File dir, MavenToken token)