You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2024/10/14 14:29:00 UTC
[jira] [Updated] (MNG-8305) CLIng does not populate MavenExecutionRequest.showErrors properly
[ https://issues.apache.org/jira/browse/MNG-8305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamas Cservenak updated MNG-8305:
---------------------------------
Fix Version/s: 4.0.0-beta-5
> 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
> Priority: Major
> Fix For: 4.0.0-beta-5
>
>
> 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)