title: Detecting missing included file with Maven assembly plugin
body: <p>I use Maven assembly plugin to build my project with the following descriptor:</p>
  
  <pre><code>    &lt;assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"&gt;
    &lt;id&gt;src&lt;/id&gt;
    &lt;formats&gt;
      &lt;format&gt;tar.gz&lt;/format&gt;
      &lt;format&gt;tar.bz2&lt;/format&gt;
      &lt;format&gt;zip&lt;/format&gt;
    &lt;/formats&gt;
    &lt;fileSets&gt;
      &lt;fileSet&gt;
        &lt;directory&gt;${project.basedir}&lt;/directory&gt;
        &lt;includes&gt;
          &lt;include&gt;README*&lt;/include&gt;
          &lt;include&gt;LICENSE*&lt;/include&gt;
          &lt;include&gt;NOTICE*&lt;/include&gt;
          &lt;include&gt;pom.xml&lt;/include&gt;
        &lt;/includes&gt;
        &lt;useDefaultExcludes&gt;true&lt;/useDefaultExcludes&gt;
      &lt;/fileSet&gt;
      &lt;fileSet&gt;
        &lt;directory&gt;${project.basedir}/src&lt;/directory&gt;
        &lt;useDefaultExcludes&gt;true&lt;/useDefaultExcludes&gt;
      &lt;/fileSet&gt;
    &lt;/fileSets&gt;
  &lt;/assembly&gt;
  </code></pre>
  
  <p>Now, if one include is missing (suppose that I don't have any "README*" or "pom.xml" file in the example), I don't have any error.</p>
  
  <p>Is there a way to get an error or a warning during the build if an included file is missing ?</p>