added a comment - - edited
A slightly different approach, yet considerably easier.
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" \
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' \
Or is that just the one gentoo provides? Anyhow, you could provide this to your distributers.