Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3507

ANSI color logging for improved output visibility

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0-alpha-1, 3.5.0
    • Component/s: Logging
    • Labels:
      None

      Description

      Is it possible for Maven to use ANSI color logging? IMO it would make Maven logs much easier to read and increase the visibility of items that the user want to see at any given point in time.

      I think Andrew Williams did some work under Plexus sandbox to enable color logging. There also a color logger available in Ant.
      http://ant.apache.org/manual/listeners.html#AnsiColorLogger

      1. maven-colorlogger.zip
        9 kB
        David Bernhard
      2. plexus-colorized-ConsoleLogger.patch
        7 kB
        Emmanuel Hugonnet
      3. pom.xml
        1 kB
        Sean Flanigan

        Issue Links

          Activity

          Hide
          elca-dbd David Bernhard added a comment -

          Yes. It's possible - I've made a maven project that does it. The only catch is that under windows, while it works perfectly in cygwin xterms the native CMD.exe does not support it. I'll attach a zip in a minute.

          Show
          elca-dbd David Bernhard added a comment - Yes. It's possible - I've made a maven project that does it. The only catch is that under windows, while it works perfectly in cygwin xterms the native CMD.exe does not support it. I'll attach a zip in a minute.
          Hide
          elca-dbd David Bernhard added a comment -

          To install, make the project and put the jar in $M2_HOME/lib.

          Then, patch the plexus file in the maven uberjar:

          In lib/, execute
          jar xf maven-2.0.9-uber.jar org/codehaus/plexus/plexus-bootstrap.xml

          In the unzipped file, edit the entry
          org.codehaus.plexus.logging.console.ConsoleLoggerManager
          to
          ch.elca.el4j.maven.logging.FormattedLoggerManager

          add it to the uberjar with (again in lib/)
          jar uf maven-2.0.9-uber.jar org/codehaus/plexus/plexus-bootstrap.xml

          and delete the org/ directory.

          Ansi color is output only when you call maven with the option -Dplexus.logger.type=ansi.

          Show
          elca-dbd David Bernhard added a comment - To install, make the project and put the jar in $M2_HOME/lib . Then, patch the plexus file in the maven uberjar: In lib/ , execute jar xf maven-2.0.9-uber.jar org/codehaus/plexus/plexus-bootstrap.xml In the unzipped file, edit the entry org.codehaus.plexus.logging.console.ConsoleLoggerManager to ch.elca.el4j.maven.logging.FormattedLoggerManager add it to the uberjar with (again in lib/) jar uf maven-2.0.9-uber.jar org/codehaus/plexus/plexus-bootstrap.xml and delete the org/ directory. Ansi color is output only when you call maven with the option -Dplexus.logger.type=ansi .
          Hide
          siveton Siveton Vincent added a comment -

          el4j is under LGPL not ASL

          Show
          siveton Siveton Vincent added a comment - el4j is under LGPL not ASL
          Hide
          elca-dbd David Bernhard added a comment -

          It's no problem for us to release our maven utilities (colourlogger etc.) under the ASL or a similar license too. The LGPL is meant for the main framework - we'd be happy to contribute some of our utilities we use to help building el4j with maven to the maven community and adapt the license accordingly.

          Show
          elca-dbd David Bernhard added a comment - It's no problem for us to release our maven utilities (colourlogger etc.) under the ASL or a similar license too. The LGPL is meant for the main framework - we'd be happy to contribute some of our utilities we use to help building el4j with maven to the maven community and adapt the license accordingly.
          Hide
          seanf Sean Flanigan added a comment -

          The maven-colorlogger project references a chain of el4j parent poms which aren't in the zip. If anyone else wants to try it, I found the immediate parent here: https://el4j.svn.sourceforge.net/svnroot/el4j/trunk/el4j/maven/pom.xml
          In the end, I just removed the parent reference, told the maven-compiler-plugin to compile for 1.5, and it all worked.

          An even easier way to try it is to download the el4j binaries from https://sourceforge.net/project/showfiles.php?group_id=147215&package_id=162180&release_id=638658 and use the modified Maven 2.0.9 therein.

          BTW, if anyone was using an awk hack like this one while waiting for colour logging in Maven - http://blog.bazoud.com/post/2008/10/20/Maven-in-colour-/-Maven-en-couleur - watch out for interactive goals which mess up awk's line buffering...

          Show
          seanf Sean Flanigan added a comment - The maven-colorlogger project references a chain of el4j parent poms which aren't in the zip. If anyone else wants to try it, I found the immediate parent here: https://el4j.svn.sourceforge.net/svnroot/el4j/trunk/el4j/maven/pom.xml In the end, I just removed the parent reference, told the maven-compiler-plugin to compile for 1.5, and it all worked. An even easier way to try it is to download the el4j binaries from https://sourceforge.net/project/showfiles.php?group_id=147215&package_id=162180&release_id=638658 and use the modified Maven 2.0.9 therein. BTW, if anyone was using an awk hack like this one while waiting for colour logging in Maven - http://blog.bazoud.com/post/2008/10/20/Maven-in-colour-/-Maven-en-couleur - watch out for interactive goals which mess up awk's line buffering...
          Hide
          seanf Sean Flanigan added a comment -

          pom.xml for maven-colorlogger, modified to remove parent reference.

          Show
          seanf Sean Flanigan added a comment - pom.xml for maven-colorlogger, modified to remove parent reference.
          Hide
          buchner.johannes Johannes Buchner added a comment - - edited

          A slightly different approach, yet considerably easier.
          http://johannes.jakeapp.com/blog/?p=28
          Works of course on environments that support it, but assuming all unices want it, you can just fix your "Maven2 Start Up Batch" script to add this.

          Like so: (at the end of the mvn bash script distributed)

          exec "$JAVACMD" \
          $MAVEN_OPTS \
          -classpath "$

          {M2_HOME}"/boot/classworlds-*.jar \
          "-Dclassworlds.conf=${M2_HOME}

          /bin/m2.conf" \
          "-Dmaven.home=$

          {M2_HOME}

          " \
          $

          {CLASSWORLDS_LAUNCHER}

          $QUOTED_ARGS |
          sed -e 's/Tests run: ([^,]), Failures: ([^,]), Errors: ([^,]), Skipped: ([^,])/[1;32mTests run: \1[0m, Failures: [1;31m\2[0m, Errors: [1;33m\3[0m, Skipped: [1;34m\4[0m/g' \
          -e 's/([WARN].*)/[1;33m\1[0m/g' \
          -e 's/([INFO].*)/[1;34m\1[0m/g' \
          -e 's/([ERROR].*)/[1;31m\1[0m/g'

          Or is that just the one gentoo provides? Anyhow, you could provide this to your distributers.

          Show
          buchner.johannes Johannes Buchner added a comment - - edited A slightly different approach, yet considerably easier. http://johannes.jakeapp.com/blog/?p=28 Works of course on environments that support it, but assuming all unices want it, you can just fix your "Maven2 Start Up Batch" script to add this. Like so: (at the end of the mvn bash script distributed) exec "$JAVACMD" \ $MAVEN_OPTS \ -classpath "$ {M2_HOME}"/boot/classworlds-*.jar \ "-Dclassworlds.conf=${M2_HOME} /bin/m2.conf" \ "-Dmaven.home=$ {M2_HOME} " \ $ {CLASSWORLDS_LAUNCHER} $QUOTED_ARGS | sed -e 's/Tests run: ( [^,] ), Failures: ( [^,] ), Errors: ( [^,] ), Skipped: ( [^,] )/[1;32mTests run: \1[0m, Failures: [1;31m\2[0m, Errors: [1;33m\3[0m, Skipped: [1;34m\4[0m/g' \ -e 's/([WARN].*)/[1;33m\1[0m/g' \ -e 's/([INFO].*)/[1;34m\1[0m/g' \ -e 's/([ERROR].*)/[1;31m\1[0m/g' Or is that just the one gentoo provides? Anyhow, you could provide this to your distributers.
          Hide
          dleonard0 David Leonard added a comment -

          A comment on Johannes Buchner's sed approach: I discovered this fails with archetype:generate because the prompts are hidden by sed's line buffering

          Show
          dleonard0 David Leonard added a comment - A comment on Johannes Buchner's sed approach: I discovered this fails with archetype:generate because the prompts are hidden by sed's line buffering
          Hide
          ehsavoie Emmanuel Hugonnet added a comment -

          I have implemented it on the scmchanglog-maven-plugin on Codehaus (not on the release version) as a PoC without any dependency (alas not on Windows I am afraid). This is just a wrapper on the current Maven Logger, so it should be easy to add to the current Maven distribution.
          http://svn.codehaus.org/mojo/trunk/mojo/scmchangelog-maven-plugin/src/main/java/org/codehaus/mojo/scmchangelog/scm/util/ColorConsoleLogger.java

          Emmanuel

          Show
          ehsavoie Emmanuel Hugonnet added a comment - I have implemented it on the scmchanglog-maven-plugin on Codehaus (not on the release version) as a PoC without any dependency (alas not on Windows I am afraid). This is just a wrapper on the current Maven Logger, so it should be easy to add to the current Maven distribution. http://svn.codehaus.org/mojo/trunk/mojo/scmchangelog-maven-plugin/src/main/java/org/codehaus/mojo/scmchangelog/scm/util/ColorConsoleLogger.java Emmanuel
          Hide
          ehsavoie Emmanuel Hugonnet added a comment - - edited

          A patch for Plexus used to build Maven 2.2.0 (unix only)

          I have built a Maven 2.2.0 version with colorized traces.
          You can download it there: http://www.ehsavoie.com/2009/07/maven-en-couleurs.html
          You have to run the command with -Dcolorized.console=true

          For example:
          mvn -Dcolorized.console=true clean install

          Show
          ehsavoie Emmanuel Hugonnet added a comment - - edited A patch for Plexus used to build Maven 2.2.0 (unix only) I have built a Maven 2.2.0 version with colorized traces. You can download it there: http://www.ehsavoie.com/2009/07/maven-en-couleurs.html You have to run the command with -Dcolorized.console=true For example: mvn -Dcolorized.console=true clean install
          Hide
          mrdon Don Brown added a comment -

          If you don't want to wait till this issue gets fixed, I wrote a little tool called "Console Colorizer" to have complete control over colorizing the Maven 2 output that works with any version of Maven.

          Show
          mrdon Don Brown added a comment - If you don't want to wait till this issue gets fixed, I wrote a little tool called "Console Colorizer" to have complete control over colorizing the Maven 2 output that works with any version of Maven.
          Hide
          garydgregory Gary Gregory added a comment -

          Note that if Maven used JAnsi, color logging would work everywhere including Windows.

          Show
          garydgregory Gary Gregory added a comment - Note that if Maven used JAnsi, color logging would work everywhere including Windows.
          Hide
          michael-o Michael Osipov added a comment -

          Is this ticket still necessary? With the new logging backend you can put in logback and colorize everything yourserf.

          Show
          michael-o Michael Osipov added a comment - Is this ticket still necessary? With the new logging backend you can put in logback and colorize everything yourserf.
          Hide
          ggregory Gary Gregory added a comment -

          IMO, Maven should colorize on the console by default.

          Show
          ggregory Gary Gregory added a comment - IMO, Maven should colorize on the console by default.
          Hide
          michael-o Michael Osipov added a comment -

          Gary Gregory, the question is, of course, how should this look like? Everyone has different expectations. While I do like this solution, others don't. Moreover, that would mean swap SLF4J Simple for something more heavyweight like Logback with Jansi. Is that intended by default? Logback libs add another 700 kB, and Jansi 115 kB. Quite a lot. Maybe a patched SLF4J Simple would suffice.

          Show
          michael-o Michael Osipov added a comment - Gary Gregory , the question is, of course, how should this look like? Everyone has different expectations. While I do like this solution, others don't. Moreover, that would mean swap SLF4J Simple for something more heavyweight like Logback with Jansi. Is that intended by default? Logback libs add another 700 kB, and Jansi 115 kB. Quite a lot. Maybe a patched SLF4J Simple would suffice.
          Hide
          ggregory Gary Gregory added a comment -

          700k? 100k? Who cares when running maven for even a simple project downloads tons of plugins and dependencies! My local repo is GBs. We are not running builds on a light bulb pick a sensible set of default colors.

          Show
          ggregory Gary Gregory added a comment - 700k? 100k? Who cares when running maven for even a simple project downloads tons of plugins and dependencies! My local repo is GBs. We are not running builds on a light bulb pick a sensible set of default colors.
          Hide
          kpokrovsky Konstantin Pokrovsky added a comment - - edited

          Maven uses slf4j for logging. By default slf4j's simple backend is used. I've replaced simple backend by logback and configured it for highlighting, custom log format, etc. Logback supports jansi out of the box so it is not a problem for windows terminals (although I do not use cmd). Also I've tried Log4j2 but its API was somewhat inconsistent with slf4j at that time (something related to root logger). The only thing I wrote myself was small color converter for logback (to switch between log levels) and logback xml config, but log4j2 color configuration is more feature rich in that relation.

          Any modern logging framework does good colorful logging support. You only have to swap it instead of maven's default simple logger.

          PS: Also Log4j2 is under ASL.

          Show
          kpokrovsky Konstantin Pokrovsky added a comment - - edited Maven uses slf4j for logging. By default slf4j's simple backend is used. I've replaced simple backend by logback and configured it for highlighting, custom log format, etc. Logback supports jansi out of the box so it is not a problem for windows terminals (although I do not use cmd). Also I've tried Log4j2 but its API was somewhat inconsistent with slf4j at that time (something related to root logger). The only thing I wrote myself was small color converter for logback (to switch between log levels) and logback xml config, but log4j2 color configuration is more feature rich in that relation. Any modern logging framework does good colorful logging support. You only have to swap it instead of maven's default simple logger. PS: Also Log4j2 is under ASL.
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1189 (See https://builds.apache.org/job/maven-3.x/1189/)
          MNG-3507 Fix the SLF4J logger factory implementation used for LOG4J2 (aheritier: rev 202f757af3aba6e1b96631de025e0ba692098009)

          • maven-embedder/src/main/resources/META-INF/maven/slf4j-configuration.properties
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1189 (See https://builds.apache.org/job/maven-3.x/1189/ ) MNG-3507 Fix the SLF4J logger factory implementation used for LOG4J2 (aheritier: rev 202f757af3aba6e1b96631de025e0ba692098009) maven-embedder/src/main/resources/META-INF/maven/slf4j-configuration.properties
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1295 (See https://builds.apache.org/job/maven-3.x/1295/)
          MNG-3507 added color to Maven execution output messages (hboutemy: rev 2859eb06e1134a0261c502b2c6ced96a537bf832)

          • maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          • maven-embedder/pom.xml
          • maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
          • pom.xml
          • maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
          • maven-core/src/main/resources/META-INF/maven/extension.xml
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1295 (See https://builds.apache.org/job/maven-3.x/1295/ ) MNG-3507 added color to Maven execution output messages (hboutemy: rev 2859eb06e1134a0261c502b2c6ced96a537bf832) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java maven-embedder/pom.xml maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java pom.xml maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java maven-core/src/main/resources/META-INF/maven/extension.xml
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user hboutemy commented on the issue:

          https://github.com/apache/maven/pull/81

          I just committed the code, slightly modified since Maven general color support was added in MNG-3507 (after extracting some code from this provider)
          I tested with core ITs and fixed one little issue in error rendering: there was one missing ":" after "Caused by": nothing complex, but this caused failures in ITs that were checking stacktrace content

          Thank you Jason D: now we'll see if everybody is ok to use the provider as default...

          Show
          githubbot ASF GitHub Bot added a comment - Github user hboutemy commented on the issue: https://github.com/apache/maven/pull/81 I just committed the code, slightly modified since Maven general color support was added in MNG-3507 (after extracting some code from this provider) I tested with core ITs and fixed one little issue in error rendering: there was one missing ":" after "Caused by": nothing complex, but this caused failures in ITs that were checking stacktrace content Thank you Jason D: now we'll see if everybody is ok to use the provider as default...
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1299 (See https://builds.apache.org/job/maven-3.x/1299/)
          MNG-3507 forgot bold for skipped yellow messages (hboutemy: rev 9fff55993e849379a2b58b4ec6947c7a79860eb3)

          • maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1299 (See https://builds.apache.org/job/maven-3.x/1299/ ) MNG-3507 forgot bold for skipped yellow messages (hboutemy: rev 9fff55993e849379a2b58b4ec6947c7a79860eb3) maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1300 (See https://builds.apache.org/job/maven-3.x/1300/)
          MNG-3507 added color to mojo execution failure message (hboutemy: rev 050936ce19298c3bca582c7e044abf7bde076f3b)

          • maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          • maven-core/pom.xml
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1300 (See https://builds.apache.org/job/maven-3.x/1300/ ) MNG-3507 added color to mojo execution failure message (hboutemy: rev 050936ce19298c3bca582c7e044abf7bde076f3b) maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java maven-core/pom.xml
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in maven-3.x #1301 (See https://builds.apache.org/job/maven-3.x/1301/)
          MNG-3507 enhanced error hints with color (hboutemy: rev 92334a1dd9f2f3df77b3c039be7742ea19a8ee81)

          • maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in maven-3.x #1301 (See https://builds.apache.org/job/maven-3.x/1301/ ) MNG-3507 enhanced error hints with color (hboutemy: rev 92334a1dd9f2f3df77b3c039be7742ea19a8ee81) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Hide
          rombert Robert Munteanu added a comment -

          I've downloaded the 3.4.0 SNAPSHOT version and I think the colorised output is a good improvement in legibility. I would have one single suggestion though: don't colour the INFO markers in green, it adds a lot of colour to the output but without adding much value.

          I suggest removing the color for the INFO markers, but keep everything else as it is.

          Show
          rombert Robert Munteanu added a comment - I've downloaded the 3.4.0 SNAPSHOT version and I think the colorised output is a good improvement in legibility. I would have one single suggestion though: don't colour the INFO markers in green, it adds a lot of colour to the output but without adding much value. I suggest removing the color for the INFO markers, but keep everything else as it is.
          Hide
          aheritier Arnaud HERITIER added a comment -

          yes Robert Munteanu or a more neutral color (blue, ..). I agree an INFO isn't a success. Let's keep green color usage for success related infos

          Show
          aheritier Arnaud HERITIER added a comment - yes Robert Munteanu or a more neutral color (blue, ..). I agree an INFO isn't a success. Let's keep green color usage for success related infos
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1307 (See https://builds.apache.org/job/maven-3.x/1307/)
          MNG-3507 added color to Maven execution output messages (schulte: rev 71e4ff8e358dd43fb52f2e760b82ef7ab39f1dbb)

          • maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorRenderer.java
          • maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          • maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1307 (See https://builds.apache.org/job/maven-3.x/1307/ ) MNG-3507 added color to Maven execution output messages (schulte: rev 71e4ff8e358dd43fb52f2e760b82ef7ab39f1dbb) maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorRenderer.java maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1308 (See https://builds.apache.org/job/maven-3.x/1308/)
          MNG-3507 added color to Maven execution output messages (schulte: rev 7e1b961edd44c7d2843b1b7cd01cea5a1cd1a70d)

          • maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
          • maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          • maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLogger.java
          • maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorRenderer.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1308 (See https://builds.apache.org/job/maven-3.x/1308/ ) MNG-3507 added color to Maven execution output messages (schulte: rev 7e1b961edd44c7d2843b1b7cd01cea5a1cd1a70d) maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLogger.java maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorRenderer.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1310 (See https://builds.apache.org/job/maven-3.x/1310/)
          MNG-3507 added color to Maven execution output messages (schulte: rev 7d89f0583f504615bd87956897971d4b3edeff92)

          • maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
          • maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorRenderer.java
          • maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLogger.java
          • maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1310 (See https://builds.apache.org/job/maven-3.x/1310/ ) MNG-3507 added color to Maven execution output messages (schulte: rev 7d89f0583f504615bd87956897971d4b3edeff92) maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorRenderer.java maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLogger.java maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1312 (See https://builds.apache.org/job/maven-3.x/1312/)
          MNG-3507 use AnsiUtils API to use colors consistently (hboutemy: rev 402ce4c3cd1e970d2d4186aa6fc3e10c612241fb)

          • pom.xml
          • maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          • maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorRenderer.java
          • maven-embedder/pom.xml
          • maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
          • maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
          • maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          • maven-core/pom.xml
            MNG-3507 removed unused code (hboutemy: rev 70e824b2fdb6b2f4ee0de10b60f39828f66db15d)
          • maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorConsoleListener.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1312 (See https://builds.apache.org/job/maven-3.x/1312/ ) MNG-3507 use AnsiUtils API to use colors consistently (hboutemy: rev 402ce4c3cd1e970d2d4186aa6fc3e10c612241fb) pom.xml maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorRenderer.java maven-embedder/pom.xml maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java maven-core/pom.xml MNG-3507 removed unused code (hboutemy: rev 70e824b2fdb6b2f4ee0de10b60f39828f66db15d) maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorConsoleListener.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1314 (See https://builds.apache.org/job/maven-3.x/1314/)
          MNG-3507 activate color (since not done by AnsiUtils) (hboutemy: rev a04ba941d891fa4674f18668b3d83ecde7d035f4)

          • maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1314 (See https://builds.apache.org/job/maven-3.x/1314/ ) MNG-3507 activate color (since not done by AnsiUtils) (hboutemy: rev a04ba941d891fa4674f18668b3d83ecde7d035f4) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1320 (See https://builds.apache.org/job/maven-3.x/1320/)
          MNG-3507 ANSI Color logging for improved output visibility. (schulte: rev 521e07cfb053f802b478e4406ce19c89e954ad3c)

          • maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1320 (See https://builds.apache.org/job/maven-3.x/1320/ ) MNG-3507 ANSI Color logging for improved output visibility. (schulte: rev 521e07cfb053f802b478e4406ce19c89e954ad3c) maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1321 (See https://builds.apache.org/job/maven-3.x/1321/)
          MNG-3507 ANSI Color logging for improved output visibility. (schulte: rev 2824696d5420da99358017ed28fb05c3fe30b7a8)

          • maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1321 (See https://builds.apache.org/job/maven-3.x/1321/ ) MNG-3507 ANSI Color logging for improved output visibility. (schulte: rev 2824696d5420da99358017ed28fb05c3fe30b7a8) maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1324 (See https://builds.apache.org/job/maven-3.x/1324/)
          MNG-3507 use new maven-shared-utils styled messages API (hboutemy: rev d0d5303dfaaee58859d8cf088f7ff6e7bcfd9527)

          • maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
          • maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          • apache-maven/pom.xml
          • maven-core/pom.xml
          • pom.xml
          • maven-embedder/pom.xml
          • maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorRenderer.java
          • maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
          • maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1324 (See https://builds.apache.org/job/maven-3.x/1324/ ) MNG-3507 use new maven-shared-utils styled messages API (hboutemy: rev d0d5303dfaaee58859d8cf088f7ff6e7bcfd9527) maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java apache-maven/pom.xml maven-core/pom.xml pom.xml maven-embedder/pom.xml maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/gossip/ColorRenderer.java maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1335 (See https://builds.apache.org/job/maven-3.x/1335/)
          MNG-3507 add color message debug info (hboutemy: rev 5dab4940c9a7d3b362bd2a8b078b183e4eb521bb)

          • maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1335 (See https://builds.apache.org/job/maven-3.x/1335/ ) MNG-3507 add color message debug info (hboutemy: rev 5dab4940c9a7d3b362bd2a8b078b183e4eb521bb) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1343 (See https://builds.apache.org/job/maven-3.x/1343/)
          MNG-3507 use released maven-shared-utils for colorized message API (hboutemy: rev 32ce34921cc3d71c4216781de4a574037fad532f)

          • src/site/xdoc/index.xml
          • maven-embedder/src/site/apt/index.apt.vm
          • pom.xml
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1343 (See https://builds.apache.org/job/maven-3.x/1343/ ) MNG-3507 use released maven-shared-utils for colorized message API (hboutemy: rev 32ce34921cc3d71c4216781de4a574037fad532f) src/site/xdoc/index.xml maven-embedder/src/site/apt/index.apt.vm pom.xml
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build maven-3.x #1400 (See https://builds.apache.org/job/maven-3.x/1400/)
          MNG-3507 added strong style to error reference key (hboutemy: rev b65070539b72d6205cea19ca3994ee408e1e0c6a)

          • (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-3.x #1400 (See https://builds.apache.org/job/maven-3.x/1400/ ) MNG-3507 added strong style to error reference key (hboutemy: rev b65070539b72d6205cea19ca3994ee408e1e0c6a) (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build maven-3.x Jigsaw #12 (See https://builds.apache.org/job/maven-3.x%20Jigsaw/12/)
          MNG-3507 added support for multi-lines error message with color (hboutemy: rev f381cd4f2861461d97dfa8a7841212b0054a85ac)

          • (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-3.x Jigsaw #12 (See https://builds.apache.org/job/maven-3.x%20Jigsaw/12/ ) MNG-3507 added support for multi-lines error message with color (hboutemy: rev f381cd4f2861461d97dfa8a7841212b0054a85ac) (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build maven-3.x #1413 (See https://builds.apache.org/job/maven-3.x/1413/)
          MNG-3507 added support for multi-lines error message with color (hboutemy: rev f381cd4f2861461d97dfa8a7841212b0054a85ac)

          • (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-3.x #1413 (See https://builds.apache.org/job/maven-3.x/1413/ ) MNG-3507 added support for multi-lines error message with color (hboutemy: rev f381cd4f2861461d97dfa8a7841212b0054a85ac) (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Hide
          stephenc Stephen Connolly added a comment -

          Maven 3.4.0 has been dropped. See this thread for more details.

          This issue will need to be re-scheduled for a Maven release in the (hopefully near) future.

          Show
          stephenc Stephen Connolly added a comment - Maven 3.4.0 has been dropped. See this thread for more details. This issue will need to be re-scheduled for a Maven release in the (hopefully near) future.
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build maven-3.x #1506 (See https://builds.apache.org/job/maven-3.x/1506/)
          MNG-3507 added color to Maven execution output messages (hboutemy: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=b80915b8822b51aafa962a9ef53a61c0ac59033d)

          • (edit) maven-embedder/pom.xml
          • (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          • (edit) apache-maven/src/bin/mvn
          • (edit) maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
          • (edit) pom.xml
          • (edit) maven-core/pom.xml
          • (edit) maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
          • (edit) apache-maven/pom.xml
          • (edit) maven-embedder/src/site/apt/index.apt.vm
          • (edit) apache-maven/src/bin/mvn.cmd
          • (edit) maven-core/src/main/resources/META-INF/maven/extension.xml
          • (edit) maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
          • (edit) maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-3.x #1506 (See https://builds.apache.org/job/maven-3.x/1506/ ) MNG-3507 added color to Maven execution output messages (hboutemy: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=b80915b8822b51aafa962a9ef53a61c0ac59033d ) (edit) maven-embedder/pom.xml (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java (edit) apache-maven/src/bin/mvn (edit) maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java (edit) pom.xml (edit) maven-core/pom.xml (edit) maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java (edit) apache-maven/pom.xml (edit) maven-embedder/src/site/apt/index.apt.vm (edit) apache-maven/src/bin/mvn.cmd (edit) maven-core/src/main/resources/META-INF/maven/extension.xml (edit) maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java (edit) maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

            People

            • Assignee:
              hboutemy Hervé Boutemy
              Reporter:
              rahul Rahul Thakur
            • Votes:
              32 Vote for this issue
              Watchers:
              37 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development