title: How to tell maven to get MAVEN_OPTS from specific file?
body: <p><code>mvn</code> command, among others, have following options:</p>
  
  <ul>
  <li><code>-f,--file &lt;arg&gt;</code>  Force the use of an alternate POM file. (This is for pointing file instead of default <code>pom.xml</code> file.)</li>
  <li><code>-gs,--global-settings &lt;arg&gt;</code> Alternate path for the global settings file. (This one is for pointing the <code>settings.xml</code> file, which is by default in <code>.m2</code> directory.)</li>
  </ul>
  
  <p>Still there is yet one config file uncovered by these options -  <code>.mavenrc</code> </p>
  
  <p>So, my question is - Is there a way to tell maven from which file it should get <code>MAVEN_OPTS</code>?</p>