title: Using Maven-JarJar plugin
body: <p>I'm trying to use the Maven JarJar plugin but I'm having problems.
  What I'm trying to do is include the Jackson library as part of my "jar-with-dependcies".</p>
  
  <p>Since I couldn't find a help I'm trying to guess the configuration. Can you please have a look and tell my what I'm doing wrong?</p>
  
  <p><strong>This is the configuration:</strong></p>
  
  <pre><code>&lt;plugin&gt;
              &lt;groupId&gt;org.sonatype.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;jarjar-maven-plugin&lt;/artifactId&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;phase&gt;package&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;jarjar&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;includes&gt;
                              &lt;include&gt;com.fasterxml.jackson.core:jackson-core&lt;/include&gt;
                              &lt;include&gt;com.fasterxml.jackson.core:jackson-databind&lt;/include&gt;
                              &lt;include&gt;com.fasterxml.jackson.core:jackson-annotations&lt;/include&gt;
                          &lt;/includes&gt; 
                          &lt;rules&gt;
                              &lt;rule&gt;
                                  &lt;pattern&gt;com.fasterxml.jackson.**&lt;/pattern&gt;
                                  &lt;result&gt;${my.package.prefix}.com.fasterxml.jackson.@1&lt;/result&gt;
                              &lt;/rule&gt;
                          &lt;/rules&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>When I'm compiling, I'm getting the following message:</p>
  
  <pre><code>Cleaning up unclosed ZipFile for archive C:\Work\Projects\XXXX\target\xxxx-1.0.0-SNAPSHOT.jar[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single (assemble-all) on project xxxx: Failed to create assembly: Error creating assembly archive jar-with-dependencies: Problem creating jar: jar:file:/C:/Work/Projects/XXXX/target/xxxx-1.0.0-SNAPSHOT.jar!/META-INF/aop.xml: JAR entry META-INF/aop.xml not found in C:\Work\Projects\XXXX\target\xxxx-1.0.0-SNAPSHOT.jar -&gt; [Help 1]
  </code></pre>
  
  <p>I'll appreciate your help!</p>