title: How to copy file from Parent POM into Maven Project
body: <p>I want to have a Parent Maven project that has two files.</p>
  
  <p>src/license/LICENSE.txt
  src/license/NOTICE.txt</p>
  
  <p>When I build my main Project, that references it as a Parent POM, I want those files to be included in the produced JAR.</p>
  
  <p>I know I can use...</p>
  
  <pre><code>&lt;build&gt;
      &lt;resources&gt;
          &lt;resource&gt;
              &lt;targetPath&gt;META-INF&lt;/targetPath&gt;
              &lt;directory&gt;src/license&lt;/directory&gt;
              &lt;includes&gt;
                  &lt;include&gt;NOTICE.txt&lt;/include&gt;
                  &lt;include&gt;LICENSE.txt&lt;/include&gt;
              &lt;/includes&gt;
          &lt;/resource&gt;
      &lt;/resources&gt;    
  &lt;/build&gt;
  </code></pre>
  
  <p>But this will only work when the files are located in main Project, not when they are in the Parent project.</p>