How do I remove colors from Maven output?

Thanks to khmarbaise for his/her answer in the comment to my question:

you can simply define -B for –batch-mode which will turn off using of
colors..

This fixed the issue, my output now looks like this (much nicer):

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.507 s
[INFO] Finished at: 2017-04-27T05:30:07-04:00
[INFO] Final Memory: 41M/100M
[INFO] ------------------------------------------------------------------------

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)