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

    <formats>
        <format>zip</format>
    </formats>
    <includeBaseDirectory>false</includeBaseDirectory>

    <fileSets>
        <fileSet>
            <directory>${project.build.directory}/unpacked</directory>
            <excludes>
                <exclude>org/keycloak/keycloak-as7-adapter/**</exclude>
                <exclude>org/keycloak/keycloak-as7-subsystem/**</exclude>
                <exclude>org/bouncycastle/**</exclude>
            </excludes>
            <outputDirectory>modules/system/layers/base</outputDirectory>
        </fileSet>
    </fileSets>
    <!--
    <dependencySets>
        <dependencySet>
            <unpack>false</unpack>
            <useTransitiveDependencies>true</useTransitiveDependencies>
            <useTransitiveFiltering>true</useTransitiveFiltering>
            <includes>
                <include>org.keycloak:keycloak-undertow-adapter</include>
            </includes>
            <outputDirectory>lib/wildfly-adapter</outputDirectory>
        </dependencySet>
    </dependencySets>
    -->
</assembly>
