<assembly>
    <id>war-dist</id>

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

    <fileSets>
        <fileSet>
            <directory>${project.build.directory}/unpacked</directory>
            <includes>
                <include>net/iharder/base64/**</include>
                <include>org/apache/httpcomponents/**</include>
                <include>org/keycloak/keycloak-core/**</include>
                <include>org/keycloak/keycloak-adapter-core/**</include>
                <include>org/keycloak/keycloak-jboss-adapter-core/**</include>
                <include>org/keycloak/keycloak-undertow-adapter/**</include>
                <include>org/keycloak/keycloak-wildfly-adapter/**</include>
                <include>org/keycloak/keycloak-subsystem/**</include>
            </includes>
            <excludes>
                <exclude>**/*.war</exclude>
            </excludes>
            <outputDirectory>modules/system/layers/base</outputDirectory>
        </fileSet>
    </fileSets>
</assembly>
