<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
    <id>SwitchYard</id>
    <includeBaseDirectory>false</includeBaseDirectory>
    <formats>
        <format>zip</format>
    </formats>

    <fileSets>
        <fileSet>
            <directory>${staging.jboss.dir}</directory>
            <includes>
                <include>*.txt</include>
                <include>standalone/**/standalone*.xml</include>
                <include>domain/**/domain*.xml</include>
                <include>modules/system/layers/soa/**</include>
                <include>modules/layers.conf</include>
                <include>quickstarts/**</include>
            </includes>
            <excludes>
                <exclude>quickstarts/switchyard/demos/webapp-deploy/**</exclude>
                <exclude>quickstarts/bpel-xts-subordinate-wsba/**</exclude>
                <exclude>quickstarts/bpel-xts-wsat/**</exclude>
                <exclude>standalone/configuration/standalone_xml_history/**</exclude>
            </excludes>
            <fileMode>644</fileMode>
            <directoryMode>755</directoryMode>
            <outputDirectory>${distro.root.dir}</outputDirectory>
        </fileSet>
    </fileSets>
</assembly>
