<jboss-deployment-structure>
    <deployment>
        <dependencies>
            <module name="org.apache.httpcomponents"/>
            <module name="org.codehaus.jackson.jackson-core-asl"/>
            <module name="org.codehaus.jackson.jackson-mapper-asl"/>
        </dependencies>
        <exclusions>

            <!-- Exclude keycloak modules -->
            <module name="org.keycloak.keycloak-core" />
            <module name="org.keycloak.keycloak-adapter-core" />
            <module name="org.keycloak.keycloak-undertow-adapter" />
            <module name="org.keycloak.keycloak-as7-adapter" />

            <!--
            <module name="org.apache.cxf" />
            <module name="javaee.api" />
            <module name="javax.ws.rs.api"/>
            <module name="org.codehaus.jackson.jackson-core-asl" />
            <module name="org.jboss.resteasy.resteasy-atom-provider" />
            <module name="org.jboss.resteasy.resteasy-cdi" />
            <module name="org.jboss.resteasy.resteasy-crypto" />
            <module name="org.jboss.resteasy.resteasy-jackson-provider" />
            <module name="org.jboss.resteasy.resteasy-jaxb-provider" />
            <module name="org.jboss.resteasy.resteasy-jaxrs" />
            <module name="org.jboss.resteasy.resteasy-jettison-provider" />
            <module name="org.jboss.resteasy.resteasy-jsapi" />
            <module name="org.jboss.resteasy.resteasy-json-p-provider" />
            <module name="org.jboss.resteasy.resteasy-multipart-provider" />
            <module name="org.jboss.resteasy.resteasy-validator-provider-11" />
            <module name="org.jboss.resteasy.resteasy-yaml-provider" />
            -->
        </exclusions>
    </deployment>
</jboss-deployment-structure>