title: Error creating assembly archive bin: You must set at least one file
body: <p>I have a maven multi-module project with a module called <strong>mod1</strong> that I'm trying to add into a folder <strong><code>/project jars</code></strong> with <code>mvn assembly:assembly</code> from the app folder, where the app pom.xml is.</p>
  
  <p>error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:single (assembly) on project wrapper: Failed to create assembly
  : Error creating assembly archive bin: You must set at least one file. -&gt; [Help 1]
  </code></pre>
  
  <p>Project folder structure:</p>
  
  <pre><code>app
      | pom.xml
      | src    | main     | ...
  wrapper
      | pom.xml
      | src    | main     | ...
  mod1
      | pom.xml
      | src    | main     | ...
  
  // After mvn assembly:assembly
  
  project jars
      | mod1.jar
  </code></pre>
  
  <p>mod1 pom.xml</p>
  
  <pre><code>&lt;project&gt;
    &lt;groupId&gt;org.test&lt;/groupId&gt;
    &lt;artifactId&gt;mod1&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>wrapper pom.xml</p>
  
  <pre><code>&lt;groupId&gt;org.test.app&lt;/groupId&gt;
  &lt;artifactId&gt;wrapper&lt;/artifactId&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;pom&lt;/packaging&gt;
  
  &lt;build&gt;
    &lt;plugins&gt;
      &lt;plugin&gt;
        &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
        &lt;version&gt;2.3&lt;/version&gt;
        &lt;executions&gt;
          &lt;execution&gt;
            &lt;id&gt;assembly&lt;/id&gt;
            &lt;phase&gt;package&lt;/phase&gt;
            &lt;goals&gt;
              &lt;goal&gt;single&lt;/goal&gt;
            &lt;/goals&gt;
            &lt;configuration&gt;
              &lt;descriptors&gt;
                &lt;descriptor&gt;src/main/assembly/modules-assembly.xml&lt;/descriptor&gt;
              &lt;/descriptors&gt;
            &lt;/configuration&gt;
          &lt;/execution&gt;
        &lt;/executions&gt;
      &lt;/plugin&gt;
    &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>The descriptor (<code>src/main/assembly/modules-assembly.xml</code>) :</p>
  
  <pre><code>&lt;assembly&gt;
      &lt;id&gt;bin&lt;/id&gt;
      &lt;baseDirectory&gt;/&lt;/baseDirectory&gt;
  
      &lt;formats&gt;
          &lt;format&gt;zip&lt;/format&gt;
      &lt;/formats&gt;
  
      &lt;includeBaseDirectory&gt;false&lt;/includeBaseDirectory&gt;
  
      &lt;moduleSets&gt;
          &lt;moduleSet&gt;
              &lt;useAllReactorProjects&gt;true&lt;/useAllReactorProjects&gt;
              &lt;includes&gt;
                  &lt;include&gt;org.test:mod1.jar&lt;/include&gt;
              &lt;/includes&gt;
              &lt;binaries&gt;
                  &lt;attachmentClassifier&gt;jar-with-dependencies&lt;/attachmentClassifier&gt;
                  &lt;outputDirectory&gt;/project jars&lt;/outputDirectory&gt;
                  &lt;unpack&gt;false&lt;/unpack&gt;
              &lt;/binaries&gt;
          &lt;/moduleSet&gt;
      &lt;/moduleSets&gt;
  &lt;/assembly&gt;
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>app pom.xml</p>
  
  <pre><code>&lt;project&gt;
    &lt;groupId&gt;org.test&lt;/groupId&gt;
    &lt;artifactId&gt;app&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;pom&lt;/packaging&gt;
  
    &lt;modules&gt;
      &lt;module&gt;../mod1&lt;/module&gt;
      &lt;module&gt;../wrapper&lt;/module&gt;
    &lt;/modules&gt;
  &lt;/project&gt;
  </code></pre>