Example #1
0
 protected boolean printExitSummary() {
   if (isCancelled()) {
     myConsole.systemMessage(
         MavenConsole.LEVEL_INFO, RunnerBundle.message("maven.execution.aborted"), null);
     return false;
   } else if (exitCode == 0) {
     myConsole.systemMessage(
         MavenConsole.LEVEL_INFO, RunnerBundle.message("maven.execution.finished"), null);
     return true;
   } else {
     myConsole.systemMessage(
         MavenConsole.LEVEL_ERROR,
         RunnerBundle.message("maven.execution.terminated.abnormally", exitCode),
         null);
     return false;
   }
 }
Example #2
0
 void stop() {
   stopped = true;
   myConsole.setOutputPaused(false);
 }