title: How to pass parameter to Maven plugin from CLI?
body: <pre><code>&lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.jvnet.jax-ws-commons&lt;/groupId&gt;
              &lt;artifactId&gt;jaxws-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3&lt;/version&gt;
  
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;phase&gt;generate-sources&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;wsimport&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;id&gt;generate-sei&lt;/id&gt;
  
                      &lt;configuration&gt;
                          &lt;sourceDestDir&gt;${project.basedir}/src/main/java&lt;/sourceDestDir&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
            &lt;dependencies&gt;...&lt;/dependencies&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>The above XML snippet is from a POM file in a Java project. In this snippet I've defined the jaxws-maven-plugin to use a wsdl file to generate the SEI code and place it in the src/main/java directory. This plugin is bound to the generate-sources phase, and works fine.</p>
  
  <p>I want to make it so that if I issue the plugin directly, using:</p>
  
  <pre><code>mvn jaxws:wsimport
  </code></pre>
  
  <p>it should place the files in the above mentioned folder. From the plugins reference site (<a href="https://jax-ws-commons.java.net/jaxws-maven-plugin/wsimport-mojo.html" rel="noreferrer">https://jax-ws-commons.java.net/jaxws-maven-plugin/wsimport-mojo.html</a>), I can't figure out how to pass the parameter (sourceDestDir) as a command line argument. Is there someway I can do this?</p>