Package org.apache.maven.shared.utils.logging

An API to write Maven messages to console with styled color content, consistently across whole Maven ecosystem (Maven itself or any plugin or extension).

See: Description

Package org.apache.maven.shared.utils.logging Description

An API to write Maven messages to console with styled color content, consistently across whole Maven ecosystem (Maven itself or any plugin or extension).

Messages are built with instances of MessageBuilder which provides a fluent API, while error level are colored by slf4j provider with LoggerLevelRenderer.

MessageUtils gives access to these builders.

Plugins can use this API with any Maven version: color just won't be activated when run with Maven version older than 3.5.0.

Styles are:

Default styles colors can be overridden through system properties, that can be set in MAVEN_OPTS environment variable (eventually in .mavenrc script):
Since:
3.1.0

Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.