Stefan Oehme created MNG-8305:
---------------------------------

             Summary: CLIng does not populate MavenExecutionRequest.showErrors 
properly
                 Key: MNG-8305
                 URL: https://issues.apache.org/jira/browse/MNG-8305
             Project: Maven
          Issue Type: Bug
          Components: Core
    Affects Versions: 4.0.x-candidate
            Reporter: Stefan Oehme


The old Maven CLI usesĀ 
{code:java}
cliRequest.showErrors = cliRequest.verbose || 
commandLine.hasOption(CLIManager.ERRORS);{code}
The new CLIng uses
{code:java}
request.setShowErrors(options.showErrors().orElse(false)); {code}
Which doesn't take into account the verbose flag.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to