title: --add-modules only on compilation
body: <p>I'm building my project with maven and <a href="/questions/tagged/java-9" class="post-tag" title="show questions tagged &#39;java-9&#39;" rel="tag">java-9</a>. I've added in my <code>pom.xml</code> file:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
      &lt;version&gt;${maven-compiler-plugin.version}&lt;/version&gt;
      &lt;configuration&gt;
          &lt;source&gt;${java.version}&lt;/source&gt;
          &lt;target&gt;${java.version}&lt;/target&gt;
          &lt;compilerArgs&gt;
              &lt;arg&gt;--add-modules&lt;/arg&gt;
              &lt;arg&gt;java.xml.bind&lt;/arg&gt;
          &lt;/compilerArgs&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>But still, to run the application I have to run it like this:</p>
  
  <pre><code>java -jar --add-modules java.xml.bind my-app.jar
  </code></pre>
  
  <p>Is there a way to build the application, to run from the command line without <code>--add-modules java.xml.bind</code> to java command line arguments?</p>