title: maven assembly plugin ignoring classifier in exclude
body: <p>I am using the maven assembly plugin version 2.4 on maven 3.0.4 with java 7</p>
  
  <p>Here is an extract from my 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;!--...some stuff skipped here...-&gt;
  
        &lt;moduleSets&gt;
          &lt;moduleSet&gt;
            &lt;useAllReactorProjects&gt;true&lt;/useAllReactorProjects&gt;
            &lt;includes&gt;
              &lt;include&gt;com.mycompany.myproject.ugui:ugui-application&lt;/include&gt;
            &lt;/includes&gt;
            &lt;excludes&gt;
              &lt;exclude&gt;com.mycompany.myproject.ugui:ugui-application:war:*:sources&lt;/exclude&gt;
            &lt;/excludes&gt;
            &lt;binaries&gt;
              &lt;outputDirectory&gt;war-file&lt;/outputDirectory&gt;
              &lt;unpack&gt;false&lt;/unpack&gt;
            &lt;/binaries&gt;
          &lt;/moduleSet&gt;
        &lt;/moduleSets&gt;
  </code></pre>
  
  <p>The xsd for the maven assembly claims that the format I am using for the exclude is correct...</p>
  
  <pre><code>  &lt;xs:element minOccurs="0" name="excludes"&gt;
      &lt;xs:annotation&gt;
        &lt;xs:documentation source="version"&gt;1.0.0+&lt;/xs:documentation&gt;
        &lt;xs:documentation source="description"&gt;
  
          When &amp;amp;lt;exclude&amp;amp;gt; subelements are present, they define a set of
          dependency artifact coordinates to exclude. If none is present, then
          &amp;amp;lt;excludes&amp;amp;gt; represents no exclusions.
  
          Artifact coordinatess may be given in simple groupId:artifactId form,
          or they may be fully qualified in the form groupId:artifactId:type:version[:classifier].
          Additionally, wildcards can be used, as in *:maven-*
  
        &lt;/xs:documentation&gt;
      &lt;/xs:annotation&gt;
      &lt;xs:complexType&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="exclude" minOccurs="0" maxOccurs="unbounded" type="xs:string"/&gt;
        &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
    &lt;/xs:element&gt;
  </code></pre>
  
  <p>However when I run the assembly it cannot make sense of the exclude...</p>
  
  <pre><code>[INFO] --- maven-assembly-plugin:2.4:single (make-deployment-tar-zip-file) @ ugui-deploy ---
  [INFO] Reading assembly descriptor: /home/fitzpatr/code/trunk/unicorn-ui/ugui-deploy/src/main/assembly/assembly.xml
  [WARNING] The following patterns were never triggered in this artifact exclusion filter:
  o  'com.mycompany.myproject.ugui:ugui-application:war:*:sources'
  
  [WARNING] The following patterns were never triggered in this artifact exclusion filter:
  o  'com.mycompany.myproject.ugui:ugui-application:war:*:sources'
  </code></pre>
  
  <p>... and the sources which I am trying to exclude are included in the assembly tar...</p>
  
  <pre><code>$ tar -tvf ugui-deploy/target/ugui-deploy-1.8-SNAPSHOT-bin.tar.gz 
  -rw-rw-r-- user/user 83885791 2014-02-26 15:39 ugui-deploy-1.8-SNAPSHOT/war-file/ugui-application-1.8-SNAPSHOT.war
  -rw-rw-r-- user/usser    65220 2014-01-17 11:30 ugui-deploy-1.8-SNAPSHOT/war-file/ugui-application-1.8-SNAPSHOT-sources.war
  -rw-rw-r-- user/user        0 2014-02-25 18:13 ugui-deploy-1.8-SNAPSHOT/README.txt
  </code></pre>
  
  <p>...so I am doing this wrong or is the maven assembly plugin broken???</p>