title: How to use jar:jar goal in maven-jar-plugin to build multiple jar files
body: <p>Our  pom.xml has multiple executions inside the maven-jar-plugin with the intention of creating three separate jar files.  What is the means to invoke mvn and build the three jars?</p>
  
  <p>Presently </p>
  
  <pre><code>mvn compile jar:jar
  </code></pre>
  
  <p>still creates only a single jar.</p>
  
  <pre><code>    &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.3.2&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;id&gt;UDFCommon&lt;/id&gt;
              &lt;goals&gt;&lt;goal&gt;jar&lt;/goal&gt;&lt;/goals&gt;
              &lt;phase&gt;package&lt;/phase&gt;
              &lt;configuration&gt;
                  &lt;forceCreation&gt;true&lt;/forceCreation&gt;
                  &lt;classifier&gt;UDFCommon&lt;/classifier&gt;
                  &lt;includes&gt;
                      &lt;include&gt;**/pafcommon/*&lt;/include&gt;
                  &lt;/includes&gt;
              &lt;/configuration&gt;
          &lt;/execution&gt;
          &lt;execution&gt;
              &lt;id&gt;UDFOne&lt;/id&gt;
              &lt;goals&gt;&lt;goal&gt;jar&lt;/goal&gt;&lt;/goals&gt;
              &lt;phase&gt;package&lt;/phase&gt;
              &lt;configuration&gt;
                  &lt;classifier&gt;UDFOne&lt;/classifier&gt;
                  &lt;includes&gt;
                      &lt;include&gt;**/dqm/*&lt;/include&gt;
                  &lt;/includes&gt;
              &lt;/configuration&gt;
          &lt;/execution&gt;
          &lt;execution&gt;
              &lt;id&gt;UDFTwo&lt;/id&gt;
              &lt;goals&gt;&lt;goal&gt;jar&lt;/goal&gt;&lt;/goals&gt;
              &lt;phase&gt;package&lt;/phase&gt;
              &lt;configuration&gt;
                  &lt;classifier&gt;UDFTwo&lt;/classifier&gt;
                  &lt;includes&gt;
                      &lt;include&gt;**/ciview/*&lt;/include&gt;
                  &lt;/includes&gt;
              &lt;/configuration&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;/plugin&gt;
  </code></pre>