<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>jbossas</id>
   <formats>
      <format>zip</format>
   </formats>
   <includeBaseDirectory>false</includeBaseDirectory>
   <fileSets>
      <fileSet>
         <directory>target/jboss</directory>
         <outputDirectory>eXoWorkflow-${version}-jboss</outputDirectory>
         <excludes>
            <exclude>**/*.sh</exclude>
         </excludes>
      </fileSet>
      <fileSet>
         <directory>target/jboss</directory>
         <outputDirectory>eXoWorkflow-${version}-jboss</outputDirectory>
         <includes>
            <include>**/*.sh</include>
         </includes>
         <fileMode>755</fileMode>
      </fileSet>
   </fileSets>
</assembly>
