@NotNull
  public ArrayList<MavenServerExecutionResult> resolveProjects() {
    try {
      Collection<Maven40ExecutionResult> results = myTelemetry.callWithSpan("doResolveProject", () -> doResolveProject());
      ArrayList<MavenServerExecutionResult> list = new ArrayList<>();
      results.stream().map(result -> createExecutionResult(result)).forEachOrdered(list::add);
      return list;
    }
    catch (Exception e) {
      throw myEmbedder.wrapToSerializableRuntimeException(e);
    }
  }
@NotNull
  public ArrayList<MavenServerExecutionResult> resolveProjects()