title: Maven assembly plugin generate zip with bat or sh file
body: <p>I'm using IDEA with Maven; I want to use maven-assembly-plugin to generate a zip which has lib, bin and README. I use the command <code>mvn package</code> to assemble the zip.<br>
  But the zip doesn't have the run.bat or run.sh. My question is: should the content of <code>run.bat</code> or <code>run.sh</code> be written by myself, or is it generated automatically by Maven?  </p>
  
  <p>The following is a part of file in my IDEA with Maven.<br>
  <a href="http://i.stack.imgur.com/X8HjO.png" rel="nofollow">enter image description here</a></p>
  
  <p>assembly.xml:</p>
  
  <pre><code>&lt;assembly&gt;
  &lt;id&gt;bin&lt;/id&gt;
  &lt;formats&gt;
      &lt;format&gt;zip&lt;/format&gt;
  &lt;/formats&gt;
  &lt;dependencySets&gt;
      &lt;dependencySet&gt;
          &lt;useProjectArtifact&gt;true&lt;/useProjectArtifact&gt;
          &lt;outputDirectory&gt;lib&lt;/outputDirectory&gt;
      &lt;/dependencySet&gt;
  &lt;/dependencySets&gt;
  &lt;fileSets&gt;
      &lt;fileSet&gt;
          &lt;outputDirectory&gt;/&lt;/outputDirectory&gt;
          &lt;includes&gt;
              &lt;include&gt;README.txt&lt;/include&gt;
          &lt;/includes&gt;
      &lt;/fileSet&gt;
      &lt;fileSet&gt;
          &lt;directory&gt;src/main/scripts&lt;/directory&gt;
          &lt;outputDirectory&gt;/bin&lt;/outputDirectory&gt;
          &lt;includes&gt;
              &lt;include&gt;run.sh&lt;/include&gt;
              &lt;include&gt;run.bat&lt;/include&gt;
          &lt;/includes&gt;
      &lt;/fileSet&gt;
  &lt;/fileSets&gt;
  </code></pre>
  
  <p></p>
  
  <p>pom.xml:</p>
  
  <pre><code>&lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.2.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;descriptors&gt;
                      &lt;descriptor&gt;src/main/assembly/assembly.xml&lt;/descriptor&gt;
                  &lt;/descriptors&gt;
              &lt;/configuration&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;make-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;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>