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

<!--
  ~ JBoss, Home of Professional Open Source.
  ~ Copyright 2010, 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 xmlns="urn:jboss:module:1.9" name="org.jboss.narayana.rts">
    <resources>
        <artifact name="${org.jboss.narayana.rts:restat-api}"/>
        <artifact name="${org.jboss.narayana.rts:restat-util}"/>
        <artifact name="${org.jboss.narayana.rts:restat-integration}"/>
        <artifact name="${org.jboss.narayana.rts:restat-bridge}"/>
    </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="javax.transaction.api"/>
        <module name="javax.resource.api"/>
        <module name="javax.ws.rs.api" services="export"/>
        <module name="javax.servlet.api"/>
        <module name="javax.xml.bind.api"/>
        <module name="javax.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>
