title: How to include external source files in maven-jar-plugin
body: <p>We are building a jar file from external(to the project) classes.
  That works fine but we have not been able to figure out how to also include the external source files. I have tried using the "&lt; includes >" tag but only end up with a manifest file in the final jar when used. I have looked at using the maven-resources-plugin but either I used it wrong or it doesn't work in my case. Here is a copy of our of code:</p>
  
  <pre><code>        &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.4&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;!-- &lt;phase&gt;generate-resources&lt;/phase&gt; --&gt;
                      &lt;phase&gt;clean&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;jar&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;classesDirectory&gt;${itendant.path}/web/rocket/WEB-INF/classes&lt;/classesDirectory&gt;
                          &lt;finalName&gt;${itendant.jar.name}&lt;/finalName&gt;
                          &lt;outputDirectory&gt;${itendant.jar.path}&lt;/outputDirectory&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  </code></pre>