title: Exclude files with maven assembly does not work
body: <p>I have very simple assembly descriptor</p>
  
  <pre><code>&lt;assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"&gt;
  &lt;id&gt;dist&lt;/id&gt;
  &lt;formats&gt;
      &lt;format&gt;jar&lt;/format&gt;
  &lt;/formats&gt;
  &lt;!-- copied from jar-with-dependencies --&gt;
  &lt;includeBaseDirectory&gt;false&lt;/includeBaseDirectory&gt;
  &lt;dependencySets&gt;
      &lt;dependencySet&gt;
          &lt;outputDirectory&gt;/&lt;/outputDirectory&gt;
          &lt;useProjectArtifact&gt;true&lt;/useProjectArtifact&gt;
          &lt;unpack&gt;true&lt;/unpack&gt;
          &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependencySet&gt;
  &lt;/dependencySets&gt;
  
  &lt;fileSets&gt;
      &lt;fileSet&gt;
          &lt;directory&gt;${project.build.outputDirectory}&lt;/directory&gt;
          &lt;outputDirectory&gt;/&lt;/outputDirectory&gt;
          &lt;useDefaultExcludes&gt;true&lt;/useDefaultExcludes&gt;
          &lt;excludes&gt;
              &lt;exclude&gt;**/dbAccess.*&lt;/exclude&gt;
          &lt;/excludes&gt;
      &lt;/fileSet&gt;
  &lt;/fileSets&gt;
  </code></pre>
  
  <p></p>
  
  <p>which is mostly copied from the <a href="http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html" rel="nofollow">Maven Descriptor Refs</a>. However my assembled jar still contains the dbAccess.* files. I tried various configurations for exclude.</p>
  
  <ul>
  <li>changed directory: ..build.directory}/classes</li>
  <li>changed exclude pattern: dbAccess.*, **/*.properties, **/*</li>
  </ul>
  
  <p>The debug output is just:</p>
  
  <pre><code>[DEBUG] The archive base directory is 'null'
  
  [DEBUG] NOT reformatting any files in /media/truecrypt1/Development/workspace_java/baseanalysis/target/classes
  
  [DEBUG] Adding file-set from directory: '/media/truecrypt1/Development/workspace_java/baseanalysis/target/classes'
  assembly output directory is: ''
  
  [DEBUG] Adding file-set in: /media/truecrypt1/Development/workspace_java/baseanalysis/target/classes to archive location: 
  </code></pre>
  
  <p>The normal resouces filtering works if I put it inside the build section in the pom.</p>