--batch-mode , mentioned in other answers, is indeed the best option in some circumstances, for example, on a CI server, but if you want to just turn off the color, perhaps starting with maven 3.5.1, use the following option:
mvn -Dstyle.color=never
Other options for the parameter: always or auto .
neves source share