<!--
Assembly descriptor for the minimal Mule distribution.
-->
<assembly>
  <formats>
    <format>zip</format>
    <format>tar.gz</format>
  </formats>

  <fileSets>
    <fileSet>
      <directory>../src/main/resources</directory>
      <outputDirectory></outputDirectory>
      <!-- TODO These excludes don't work for some reason. -->
      <excludes>
        <exclude>docs/*</exclude>
        <exclude>src/*</exclude>
        <exclude>examples/*</exclude>
      </excludes>
    </fileSet>

    <!-- Make binary directories executable. -->
    <fileSet>
      <directory>../src/main/resources/bin</directory>
      <outputDirectory>bin</outputDirectory>
      <fileMode>744</fileMode>
    </fileSet>
    <fileSet>
      <directory>../src/main/resources/lib/boot/exec</directory>
      <outputDirectory>lib/boot/exec</outputDirectory>
      <fileMode>744</fileMode>
    </fileSet>
  </fileSets>

  <dependencySets>
    <!-- Mule bootstrap -->
    <dependencySet>
      <outputDirectory>lib/boot</outputDirectory>
      <!-- No version number  -->
      <outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping>
      <includes>
        <include>org.mule.modules:mule-module-boot</include>
        <include>tanukisoft:wrapper</include>
      </includes>
    </dependencySet>
  </dependencySets>
</assembly>
