[MNG-5587] When the build fails emit any errors without the user having to specify -e or -X

This closes #283
This commit is contained in:
Gabriel Belingueres 2019-09-04 00:04:50 -03:00 committed by Michael Osipov
parent 9989e6ab6c
commit 838c196359
1 changed files with 0 additions and 1 deletions

View File

@ -480,7 +480,6 @@ public class MavenCli
// LOG LEVEL
cliRequest.debug = cliRequest.commandLine.hasOption( CLIManager.DEBUG );
cliRequest.quiet = !cliRequest.debug && cliRequest.commandLine.hasOption( CLIManager.QUIET );
cliRequest.showErrors = cliRequest.debug || cliRequest.commandLine.hasOption( CLIManager.ERRORS );
slf4jLoggerFactory = LoggerFactory.getILoggerFactory();
Slf4jConfiguration slf4jConfiguration = Slf4jConfigurationFactory.getConfiguration( slf4jLoggerFactory );