You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by seblm <gi...@git.apache.org> on 2016/07/01 15:05:54 UTC

[GitHub] maven-shared pull request #13: [MSHARED-562] override default colors with ja...

GitHub user seblm opened a pull request:

    https://github.com/apache/maven-shared/pull/13

    [MSHARED-562] override default colors with java properties

    This pull request allow a user to redefine default maven colors with some java properties.
    
    For example one can edit his `~/.mavenrc` with the following:
    
    ```bash
    MAVEN_OPTS="-Dstyle.info=cyan -Dstyle.warning=bold,yellow"
    ```
    
    Possible values are (case insensitive):
    
     - colors
       - `BLACK`
       - `RED`
       - `GREEN`
       - `YELLOW`
       - `BLUE`
       - `MAGENTA`
       - `CYAN`
       - `WHITE`
       - `DEFAULT`
     - styles
       - `BOLD`
    
    Additional note about tests: as configuration is handled into one single enum thus testing with java property is merely impossible. Enum `Style` is already loaded when test is starting.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/seblm/maven-shared trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-shared/pull/13.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #13
    
----
commit 1b248c0c12ba98df1bd5cc79e8fdc712d060e58e
Author: S�bastian Le Merdy <se...@gmail.com>
Date:   2016-07-01T14:47:15Z

    [MSHARED-562] test default colors for each style

commit 6180b4bdcd4f5ecbd0a1bd64d9237692327224f9
Author: S�bastian Le Merdy <se...@gmail.com>
Date:   2016-07-01T14:51:33Z

    [MSHARED-562] allow color configuration with java properties

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[GitHub] maven-shared pull request #13: [MSHARED-562] override default colors with ja...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/maven-shared/pull/13


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org