[
http://jira.codehaus.org/browse/MNG-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Bernhard updated MNG-3507:
--------------------------------
Attachment: maven-colorlogger.zip
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}}*.
> ANSI Color logging for improved output visibility.
> --------------------------------------------------
>
> Key: MNG-3507
> URL: http://jira.codehaus.org/browse/MNG-3507
> Project: Maven 2
> Issue Type: Improvement
> Reporter: Rahul Thakur
> Attachments: maven-colorlogger.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira