title: maven site unpack error
body: <p>I have a multi module maven project. If I run</p>
  
  <pre><code>mvn clean install
  </code></pre>
  
  <p>everything works fine. But if I run:</p>
  
  <pre><code>mvn site 
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>[INFO] --- maven-dependency-plugin:2.4:unpack (copy-war) @ module2 ---
  [INFO] Configured Artifact: com.example:module1:1.0-SNAPSHOT:war
  Unpacking path\2\module1\target\classes to path\2\module2\target\module1 with includes "" and excludes ""
  org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
  </code></pre>
  
  <p>With <code>mvn clean install</code> at the same point I get:</p>
  
  <pre><code>[INFO] --- maven-dependency-plugin:2.4:unpack (copy-war) @ module2 ---
  [INFO] Configured Artifact: com.example:module1:1.0-SNAPSHOT:war
  [INFO] Unpacking path\2\module1\target\module1-1.0-SNAPSHOT.war to path\2\module2\target\module1 with includes "" and excludes ""
  </code></pre>
  
  <p>and everything works fine.</p>
  
  <p>Any idea why the dependency plugin wants to unpack a directory instead of a war?</p>