<assembly>
    <id>server-dist</id>

    <formats>
        <format>zip</format>
        <format>tar.gz</format>
    </formats>

    <includeBaseDirectory>true</includeBaseDirectory>

    <fileSets>
        <fileSet>
            <directory>target/${project.build.finalName}</directory>
            <outputDirectory/>
            <filtered>true</filtered>
            <includes>
                <include>**/module.xml</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>target/${project.build.finalName}</directory>
            <outputDirectory/>
            <filtered>false</filtered>
            <excludes>
                <exclude>**/module.xml</exclude>
                <exclude>welcome-content/**</exclude>
                <exclude>appclient</exclude>
                <exclude>appclient/*</exclude>
                <exclude>standalone/deployments</exclude>
                <exclude>standalone/deployments/*</exclude>
            </excludes>
        </fileSet>
        <fileSet>
            <directory>src/main/welcome-content</directory>
            <outputDirectory>welcome-content</outputDirectory>
            <includes>
                <include>*.*</include>
            </includes>
        </fileSet>
    </fileSets>
</assembly>
