<?xml version="1.0" encoding="UTF-8"?>

<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<module xmlns="urn:jboss:module:1.9" name="org.apache.cxf">

    <resources>
        <artifact name="${org.apache.cxf:cxf-core}"/>
        <artifact name="${org.apache.cxf:cxf-rt-features-logging}"/>
    </resources>

    <dependencies>
        <module name="java.compiler"/>
        <module name="java.desktop"/>
        <module name="java.logging"/>
        <module name="java.management"/>
        <module name="java.naming"/>
        <module name="java.sql"/>
        <module name="java.xml"/>
        <module name="org.apache.cxf.impl" services="import">
            <imports>
                <include path="META-INF/cxf"/> <!-- required to also pull in the bus extensions from META-INF -->
                <include path="META-INF"/>
            </imports>
        </module>
        <module name="org.slf4j"/>
        <module name="asm.asm" />
        <module name="jakarta.annotation.api" />
        <module name="jakarta.validation.api" optional="true"/>
        <module name="jakarta.mail.api" />
        <module name="jakarta.resource.api" />
        <module name="javax.wsdl4j.api" />
        <module name="jakarta.xml.bind.api" services="import"/>
        <module name="org.glassfish.jaxb" services="import"/>
        <module name="com.sun.xml.messaging.saaj" export="true" services="export"/>
        <module name="jakarta.xml.soap.api" />
        <module name="jakarta.xml.ws.api" />
        <module name="com.sun.xml.fastinfoset"/>
        <module name="org.apache.neethi" />
        <module name="org.apache.ws.xmlschema" />
        <module name="org.codehaus.woodstox" />
        <module name="org.apache.xml-resolver" />
        <module name="org.springframework.spring" optional="true">
            <imports>
                <include path="META-INF"/>
            </imports>
        </module>
    </dependencies>

</module>
