@NotNull
  private static String getGoal(boolean buildOnlyResources, boolean compileOnly) {
    if (buildOnlyResources) {
      return "resources:resources";
    }
    return compileOnly ? "compile" : "install";
  }
@NotNull
  private static String getGoal(boolean buildOnlyResources, boolean compileOnly)