<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->
<module name="org.jboss.genericjms" xmlns="urn:jboss:module:1.9">

    <resources>
       <resource-root path="."/>
        <resource-root path="generic-jms-ra-jar-3.0.0.Final.jar"/>
    </resources>

    <dependencies>
        <module name="java.naming"/>
        <module name="jakarta.transaction.api"/>
        <!-- WFLY-4656 export the JMS API module,  otherwise MDB using this RA will not found JMS classes -->
        <module name="jakarta.jms.api" export="true"/>
        <module name="jakarta.resource.api"/>
        <module name="org.jboss.logging"/>

        <!--
             This module is used to provide the provider-specific classes
             containing the JMS implementation (and any of their dependencies)
             used by the generic JMS resource adapter
        -->
        <module name="org.jboss.genericjms.provider" optional="true"/>
    </dependencies>
</module>
