title: Maven: exclude dependency from shade plugin
body: <p>I've seen next string after <code>mvn clean install</code></p>
  
  <blockquote>
    <p>Including com.sun.jersey.contribs:jersey-multipart:jar:1.5 in the
    shaded jar</p>
  </blockquote>
  
  <p><strong>Problem:</strong> I can't make it not shaded even I've added exlusion for maven-shade-plugin (see code below)</p>
  
  <p><strong>My maven-shade-plugin:</strong></p>
  
  <pre class="lang-xml prettyprint-override"><code>        &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-shade-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.1&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;phase&gt;package&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;shade&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;filters&gt;
                              &lt;filter&gt;
                                  &lt;artifact&gt;*:*&lt;/artifact&gt;
                                  &lt;excludes&gt;
                                      &lt;exclude&gt;META-INF/*.SF&lt;/exclude&gt;
                                      &lt;exclude&gt;META-INF/*.DSA&lt;/exclude&gt;
                                      &lt;exclude&gt;META-INF/*.RSA&lt;/exclude&gt;
                                  &lt;/excludes&gt;
                              &lt;/filter&gt;
                          &lt;/filters&gt;
                          &lt;artifactSet&gt;
                              &lt;excludes&gt;
  //Here ==&gt;                      &lt;exclude&gt;com.sun.jersey.contribs:jersey-multipart:jar&lt;/exclude&gt;
                              &lt;/excludes&gt;
                          &lt;/artifactSet&gt;
                          &lt;transformers&gt;
                              &lt;transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"&gt;
                                  &lt;manifestEntries&gt;
                                      &lt;Main-Class&gt;Main&lt;/Main-Class&gt;
                                      &lt;Build-Number&gt;123&lt;/Build-Number&gt;
                                  &lt;/manifestEntries&gt;
                              &lt;/transformer&gt;
                              &lt;transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"&gt;
                                  &lt;resource&gt;META-INF/spring.handlers&lt;/resource&gt;
                              &lt;/transformer&gt;
                              &lt;transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"&gt;
                                  &lt;resource&gt;META-INF/spring.schemas&lt;/resource&gt;
                              &lt;/transformer&gt;
                          &lt;/transformers&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  </code></pre>