public static @NlsSafe String generateName(Project project, MavenRunnerParameters runnerParameters) {
    StringBuilder stringBuilder = new StringBuilder();

    final String name = getMavenProjectName(project, runnerParameters);
    if (!StringUtil.isEmptyOrSpaces(name)) {
      stringBuilder.append(name);
    }

    List<String> goals = runnerParameters.getGoals();
    if (!goals.isEmpty()) {
      stringBuilder.append(" [");
      listGoals(stringBuilder, goals);
      stringBuilder.append("]");
    }
    return stringBuilder.toString();
  }
public static @NlsSafe String generateName(Project project, MavenRunnerParameters runnerParameters)