maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Beland (JIRA)" <>
Subject [jira] [Commented] (MNG-6220) Add CLI options to control color output
Date Wed, 08 Nov 2017 13:47:01 GMT


Daniel Beland commented on MNG-6220:

It seems like it was not added to the maven 3.5.2 release.
Was the pull request merged?

Looking at the pull request, the parameter is '--color=always|never|auto':

But when I check the source code for CLIManager on tag maven-3.5.2 it is not there:

I'm a bit confused...

> Add CLI options to control color output
> ---------------------------------------
>                 Key: MNG-6220
>                 URL:
>             Project: Maven
>          Issue Type: New Feature
>            Reporter: Manuel Ryan
>            Assignee: Robert Scholte
>             Fix For: 3.5.2
> Currently, the only way to enable/disable color output is to use the batch-mode or log-file
> If a user wants colored output but no interactivity (ie: jenkins environment with the
ansicolor plugin), there is no CLI option combination to support the use-case.
> I propose to add an option to control output coloring directly.
> {noformat}
> --color=enabled <- color output always enabled
> --color=disabled <- color output always disabled
> --color=auto <- current behavior (default)
> {noformat}

This message was sent by Atlassian JIRA

View raw message