title: How to enable batch mode via MAVEN_OPTS or .mavenrc?
body: <p>How can I enable batch mode (i.e disable color output) with either MAVEN_OPTS or .mavenrc?</p>
  <p>I cannot pass <code>--batch-mode</code> directly to <code>mvn</code>, because another processes starts it, and my part is responsible only for capturing logs. I cannot pipe output though another programm either.</p>
  <p>So far I've tried:
  <code>-Dstyle.color=never</code>
  <code>-Dmaven.color=false</code>.
  Neither worked.</p>