Skip to content

jcgay/maven-color

Repository files navigation

Maven Color

A multi-OS colorized Maven console.
Maven has built-in color since version 3.5.0, you should stick with it now 😍

asciicast

What's new ?

See CHANGELOG for latest changes.

Installation

Follow instructions here

Documentation

Visit the wiki.
You'll find known problem solutions and how to customize colors.

Build

Status

Build Status Build status Coverage Status Quality Gate

Release

mvn -B release:prepare release:perform

Testing with Docker

Latest Maven version

docker build . -t jcgay/maven-color
docker run -it --rm -v /Users/jcgay/.m2:/root/.m2 -v "$(pwd)":/usr/src/mymaven -w /usr/src/mymaven jcgay/maven-color mvn clean verify
docker run -e MAVEN_OPTS="$MAVEN_OPTS -Dmaven.color=false" -it --rm -v /Users/jcgay/.m2:/root/.m2 -v "$(pwd)":/usr/src/mymaven -w /usr/src/mymaven jcgay/maven-color mvn clean verify

Maven 3.3.x

docker build . -f Dockerfile-3.3 -t jcgay/maven-color:3.3
docker run -it --rm -v /Users/jcgay/.m2:/root/.m2 -v "$(pwd)":/usr/src/mymaven -w /usr/src/mymaven jcgay/maven-color:3.3 mvn clean verify
docker run -e MAVEN_OPTS="$MAVEN_OPTS -Dmaven.color=false" -it --rm -v /Users/jcgay/.m2:/root/.m2 -v "$(pwd)":/usr/src/mymaven -w /usr/src/mymaven jcgay/maven-color:3.3 mvn clean verify