Skip to content
Permalink
Browse files
[FIXED JENKINS-15025] Maven-Tycho 0.15.0 build - no additional info in
console log about compilation failure 

Rename method processCLIArguments to setOptions
  • Loading branch information
Nikolas Falco committed Oct 10, 2013
1 parent 721e379 commit 3f448208ec48828779d0c1f512dcc4e589d8c552
@@ -159,7 +159,7 @@ public Result call() throws IOException {

// manage of Maven error threaded as in MavenCli, delegated by Maven3Launcher.launch
Maven3FailureLogger summary = new Maven3FailureLogger(mavenExecutionListener.logger);
summary.processCLIArguments(goals);
summary.setOptions(goals);
summary.logFailures(mavenExecutionResult);

if(r==0 && mavenExecutionResult.getThrowables().isEmpty()) {
@@ -150,7 +150,7 @@ private MavenProject convert(MavenProjectInfo prjInfo)
* in this scenario all implementations must be patched to handle
* errors.
*/
public void processCLIArguments(List<String> goals)
public void setOptions(List<String> goals)
{
// need to calculate some values as in the maven request.
showErrors = goals.contains("-" + CLIManager.DEBUG) || goals.contains("-" + CLIManager.ERRORS);

0 comments on commit 3f44820

Please sign in to comment.