<assembly>
  <id>release</id>
  <formats>
    <format>tar.gz</format>
    <format>tar.bz2</format>
    <format>zip</format>
  </formats>

  <fileSets>
    <fileSet>
        <includes>
          <include>${project.name}-${project.version}.jar</include>
        </includes>
        <directory>${project.build.directory}</directory>
        <outputDirectory>lib</outputDirectory>
        <directoryMode>0755</directoryMode>
        <fileMode>0644</fileMode>
    </fileSet>

    <fileSet>
        <includes>
            <include>${project.name}.sh</include>
            <include>common.sh</include>
        </includes>
        <directory>src/main/bash</directory>
        <outputDirectory>bin</outputDirectory>
        <filtered>true</filtered>
        <fileMode>0755</fileMode>
        <directoryMode>0755</directoryMode>
    </fileSet>

    <!--fileSet>
        <includes>
            <include>LICENSE.txt</include>
        </includes>
        <directoryMode>0755</directoryMode>
        <fileMode>0644</fileMode>
    </fileSet -->
  </fileSets>

  <dependencySets>
    <dependencySet>
        <scope>runtime</scope>
        <outputDirectory>lib</outputDirectory>
        <directoryMode>0755</directoryMode>
        <fileMode>0644</fileMode>
        <useProjectArtifact>false</useProjectArtifact>
    </dependencySet>
 </dependencySets>
</assembly>

Add plugin assembly to produce proper deliverable
Add plugin assembly to produce proper deliverable
