See: Description
Interface | Description |
---|---|
MessageBuilder |
Message builder that supports configurable styling.
|
Class | Description |
---|---|
MessageUtils |
Colored message utils, to manage colors consistently across plugins (only if Maven version is at least 3.4.0).
|
Messages are built with instances of MessageBuilder
which provides a fluent API.
MessageUtils
gives access to these buffers.
Plugins can use this API with any Maven version: color just won't be activated when run with Maven version older than 3.4.0.
Styles are:
debug
, info
, warning
and error
for slf4j level display,success
, warning
, failure
, strong
, mojo
and project
for message contentMAVEN_OPTS
environment variable (eventually in .mavenrc
script):style.<style name>
,bold
, <color>
and
bg<color>
(for background), where <color>
is
an ANSI color: black
,
red
, green
, yellow
, blue
, magenta
,
cyan
or white
, eventually with bright
prefixCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.