<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ JBoss, Home of Professional Open Source.
  ~ Copyright (c) 2011, Red Hat, Inc., and individual contributors
  ~ as indicated by the @author tags. See the copyright.txt file in the
  ~ distribution for a full listing of individual contributors.
  ~
  ~ This is free software; you can redistribute it and/or modify it
  ~ under the terms of the GNU Lesser General Public License as
  ~ published by the Free Software Foundation; either version 2.1 of
  ~ the License, or (at your option) any later version.
  ~
  ~ This software is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  ~ Lesser General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Lesser General Public
  ~ License along with this software; if not, write to the Free
  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  -->
<module name="org.jboss.genericjms" xmlns="urn:jboss:module:1.9">

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

    <dependencies>
        <module name="java.naming"/>
        <module name="javax.transaction.api"/>
        <!--WFLY-14219 Remove deprecated <module name="javax.api"/> -->
        <!-- WFLY-4656 export the JMS API module,  otherwise MDB using this RA will not found JMS classes -->
        <module name="javax.jms.api" export="true"/>
        <module name="javax.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>
