This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MNG-5587
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 838c196359bd2a9715542e5212010ced74e8981a
Author: Gabriel Belingueres <[email protected]>
AuthorDate: Wed Sep 4 00:04:50 2019 -0300

    [MNG-5587] When the build fails emit any errors without the user having to 
specify -e or -X
    
    This closes #283
---
 maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java 
b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
index 8653c27..7af20be 100644
--- a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
+++ b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
@@ -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 );

Reply via email to