title: Extract subset of repository with maven assembly
body: <p>Using maven-assembly-plugin version 2.4, I want to build a zip of my repository containing only jar under groupid starting with <strong>mypackage</strong>.</p>
  
  <p>Using repository with pattern <strong>mypackage.*:*</strong> does not work. The build is successful but my repository contains all my dependencies !</p>
  
  <pre><code>&lt;formats&gt;
      &lt;format&gt;zip&lt;/format&gt;
  &lt;/formats&gt;
  &lt;includeBaseDirectory&gt;false&lt;/includeBaseDirectory&gt;
  &lt;repositories&gt;
      &lt;repository&gt;
          &lt;includes&gt;
              &lt;include&gt;mypackage.*:*&lt;/include&gt;
          &lt;/includes&gt;
          &lt;scope&gt;test&lt;/scope&gt;
          &lt;includeMetadata&gt;false&lt;/includeMetadata&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  </code></pre>
  
  <p>Using dependency set with the same pattern works (except all jars are in the root folder ...) :</p>
  
  <pre><code>&lt;formats&gt;
    &lt;format&gt;zip&lt;/format&gt;
  &lt;/formats&gt;
  &lt;includeBaseDirectory&gt;false&lt;/includeBaseDirectory&gt;
  &lt;dependencySets&gt;
    &lt;dependencySet&gt;
      &lt;includes&gt;
        &lt;include&gt;mypackage.*:*&lt;/include&gt;
      &lt;/includes&gt;
      &lt;unpack&gt;false&lt;/unpack&gt;
      &lt;scope&gt;test&lt;/scope&gt;
      &lt;useProjectArtifact&gt;false&lt;/useProjectArtifact&gt;
    &lt;/dependencySet&gt;
  &lt;/dependencySets&gt;
  </code></pre>
  
  <p>Is there something wrong in the configuration ? Is it possible to do that with maven-assembly ?</p>