title: Specifying Maven memory parameter without setting MAVEN_OPTS environment variable
body: <p>I was wondering if it is possible to specify Maven memory boundaries with a syntax similar to:</p>
  
  <pre><code>mvn -Dtest=FooTest -DXmx=512M clean test
  </code></pre>
  
  <p>I tried a couple of variations till now, unsuccessfully.<br>
  I am aware of MAVEN_OPTS environment variable, but I would like to avoid that.</p>
  
  <p>Related to the above question, it would be nice to know if there is the possibility to specify the memory behavior of the <b>surefire</b> plugin in a similar manner, so that it forks the jvm using the overridden memory amount (eventually overriding the <code>&lt;argLine&gt;</code> parameter in the pom plugin configuration, if present)</p>