title: Is there a way to pass JVM args via command line to Maven?
body: <blockquote>
  <p><strong>Possible Duplicate:</strong><br />
  <a href="https://stackoverflow.com/questions/2007192/maven-jetty-plugin-how-to-control-vm-arguments">Maven Jetty plugin - how to control VM arguments?</a></p>
  </blockquote>
  
  <p>In particular, I want to do something like this:</p>
  <pre><code>mvn -DjvmArgs=&quot;-Xmx2000m -Xms1000m -XX:PermSize=512m -XX:MaxPermSize=512m&quot; jetty:run -Pmyprofile
  </code></pre>
  <p>Oh, and I would like to do this without having to modify the pom files or set any environment variables.. etc</p>