You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Cyrille Le Clerc (JIRA)" <ji...@apache.org> on 2017/05/29 21:51:04 UTC

[jira] [Commented] (MNG-6220) Add CLI options to control color output

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

Cyrille Le Clerc commented on MNG-6220:
---------------------------------------

The [Jenkins Pipeline Maven Plugin|https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Maven+Plugin] would be very interested in having the colored output enable when the batch mode is enabled.
We run Maven builds in batch mode to be not interactive but we would like to benefit of the colorized output.

Reference https://issues.jenkins-ci.org/browse/JENKINS-44543

> 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
>             Fix For: 3.5.1-candidate
>
>
> 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.3.15#6346)