private static void onDependencyResolutionResult(DependencyResolutionResult event) {
    List<Exception> errors = event.getCollectionErrors();
    StringBuilder result = new StringBuilder();
    for (Exception e : errors) {
      if (result.length() > 0) {
        result.append(NEWLINE);
      }
      result.append(e.getMessage());
    }
    printMavenEventInfo("DependencyResolutionResult", "error", result);
  }
private static void onDependencyResolutionResult(DependencyResolutionResult event)