You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2020/01/13 21:29:28 UTC

[maven] branch MNG-5587 created (now 838c196)

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

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


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

This branch includes the following new commits:

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

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by mi...@apache.org.
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 <be...@gmail.com>
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 );