<?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.jboss.as.webservices">

    <properties>
        <property name="jboss.api" value="private"/>
    </properties>

    <exports>
        <exclude path="org/jboss/as/webservices/logging"/>
    </exports>

    <resources>
        <artifact name="${org.wildfly:wildfly-webservices-server-integration}"/>
        <artifact name="${org.jboss.ws.cxf:jbossws-cxf-resources}"/>
    </resources>

    <dependencies>
        <module name="java.management"/>
        <module name="jakarta.annotation.api"/>
        <module name="jakarta.ejb.api"/>
        <module name="jakarta.servlet.api"/>
        <module name="jakarta.xml.ws.api"/>
        <module name="org.jboss.invocation"/>
        <module name="io.smallrye.jandex"/>
        <module name="org.jboss.metadata.common"/>
        <module name="org.jboss.metadata.web"/>
        <module name="org.jboss.metadata.ear"/>
        <module name="org.jboss.metadata.ejb"/>
        <module name="org.jboss.staxmapper"/>
        <module name="org.jboss.as.controller"/>
        <module name="org.jboss.as.ejb3"/>
        <module name="org.jboss.as.server"/>
        <module name="org.jboss.as.ee"/>
        <module name="org.jboss.as.naming"/>
        <module name="org.jboss.as.network"/>
        <module name="org.wildfly.security.elytron-private"/>
        <module name="org.jboss.as.web-common"/>
        <module name="org.jboss.modules"/>
        <module name="org.jboss.msc"/>
        <module name="org.jboss.vfs"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.ws.api" />
        <module name="org.jboss.ws.common" services="import" />
        <module name="org.jboss.ws.spi" />
        <module name="org.wildfly.extension.undertow" />
        <module name="io.undertow.core" />
        <module name="io.undertow.servlet"/>
        <module name="org.wildfly.common"/>
        <module name="org.wildfly.transaction.client"/>
        <module name="jakarta.transaction.api"/>
        <!-- Only used if capability org.wildfly.weld is available-->
        <module name="org.jboss.as.weld.common" optional="true"/>
        <module name="java.xml"/>
    </dependencies>
</module>
