[ 
https://issues.apache.org/jira/browse/MNG-6220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243956#comment-16243956
 ] 

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': 
https://github.com/apache/maven/pull/114/files

But when I check the source code for CLIManager on tag maven-3.5.2 it is not 
there: 
https://github.com/apache/maven/blob/maven-3.5.2/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

I'm a bit confused...

> Add CLI options to control color output
> ---------------------------------------
>
>                 Key: MNG-6220
>                 URL: https://issues.apache.org/jira/browse/MNG-6220
>             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 options.
> 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
(v6.4.14#64029)

Reply via email to