<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->
<module name="org.jboss.narayana.rts" xmlns="urn:jboss:module:1.9">
    <resources>
        <resource-root path="restat-api-7.0.2.Final.jar"/>
        <resource-root path="restat-util-7.0.2.Final.jar"/>
        <resource-root path="restat-integration-7.0.2.Final.jar"/>
        <resource-root path="restat-bridge-7.0.2.Final.jar"/>
    </resources>

    <dependencies>
        <module name="org.jboss.resteasy.resteasy-client"/>
        <module name="org.jboss.resteasy.resteasy-core-spi"/>
        <module name="org.jboss.resteasy.resteasy-core"/>
        <module name="org.jboss.resteasy.resteasy-jaxb-provider"/>
        <module name="org.jboss.resteasy.resteasy-json-p-provider"/>
        <module name="jakarta.transaction.api"/>
        <module name="jakarta.resource.api"/>
        <module name="jakarta.ws.rs.api" services="export"/>
        <module name="jakarta.servlet.api"/>
        <module name="jakarta.xml.bind.api"/>
        <module name="jakarta.ejb.api"/>
        <module name="org.jboss.jts"/>
        <module name="org.wildfly.extension.rts" export="true">
            <imports>
                <include path="org/wildfly/extension/rts/jaxrs"/>
            </imports>
        </module>
        <module name="org.jboss.logging"/>

        <!-- TODO WFLY-5966 validate the need for these and remove if not needed.
             Prior to WFLY-5922 they were exported by javax.ejb.api. -->
        <module name="javax.rmi.api"/>
        <module name="org.omg.api"/>
        <module name="java.xml"/>
    </dependencies>
</module>
