<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
   <id>tomcat-demo</id>
   <formats>
      <format>zip</format>
   </formats>
   <includeBaseDirectory>false</includeBaseDirectory>
   <fileSets>
      <!-- Default files -->
      <fileSet>
         <directory>target/tomcat-demo</directory>
         <outputDirectory></outputDirectory>
         <excludes>
           <exclude>**/*.sh</exclude>
           <exclude>webapps/docs/</exclude>
           <exclude>webapps/examples/</exclude>
           <exclude>webapps/host-manager/</exclude>
           <exclude>webapps/manager/</exclude>
           <exclude>webapps/ROOT/</exclude>
         </excludes>
      </fileSet>
      <!-- Executable files-->
      <fileSet>
         <directory>target/tomcat-demo</directory>
         <outputDirectory></outputDirectory>
         <includes>
            <include>**/*.sh</include>
         </includes>
         <fileMode>755</fileMode>
      </fileSet>
       <!-- ROOT webapp -->
     <fileSet>
        <directory>src/main/ROOT</directory>
        <outputDirectory>webapps/ROOT</outputDirectory>
     </fileSet>
   </fileSets>
</assembly>
