@Override
  public HashSet<MavenArchetype> getInternalArchetypes(MavenToken token) throws RemoteException {
    MavenServerUtil.checkToken(token);
    try {
      return getInternalArchetypes();
    }
    catch (ComponentLookupException e) {
      throw wrapToSerializableRuntimeException(e);
    }
  }
@Override
  public HashSet<MavenArchetype> getInternalArchetypes(MavenToken token)