String () { List<String> commandLine = new ArrayList<>(getGoals()); String pomFileName = getPomFileName(); if (pomFileName != null) { commandLine.add("-f"); commandLine.add(pomFileName); } return ParametersList.join(commandLine); }