Find Java options used by Maven
<p>How can I find which Java options (Xmx, Xms, Xss, etc) are being used by Maven?</p>

<p>I've found out that a way to <strong>set</strong> them is via the environment MAVEN_OPTS. Now I want a way to be assured it's getting the right settings.</p>

<p>EDIT: I believe it´s different to <a href="https://stackoverflow.com/questions/3167364/how-to-print-the-actual-maven-options-that-are-being-used">this question</a> as I don´t want to see the value of an environment variable. I rather want to see which settings are actually being used by Maven, whether it comes from a env var, settings.xml or other means.</p>

<p>EDIT2: I'm also interested in other ways of setting Java options for a Maven build</p>