<?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 name="org.jboss.jts" xmlns="urn:jboss:module:1.9">

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

    <resources>
        <artifact name="org.jboss.narayana.jts:narayana-jts-idlj:6.0.0.Final"/>
    </resources>

    <dependencies>
        <module name="java.desktop"/>
        <module name="java.logging"/>
        <module name="java.management"/>
        <module name="java.naming"/>
        <module name="java.sql"/>
        <module name="java.transaction.xa"/>
        <module name="javax.transaction.api"/>
        <module name="sun.jdk"/>
        <module name="org.omg.api"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.jts.integration"/>
        <module name="org.jboss.jboss-transaction-spi"/>
        <module name="javax.resource.api"/>
        <module name="org.apache.activemq.artemis.journal"/>
        <module name="javax.orb.api"/>
        <module name="javax.enterprise.api"/>
        <module name="org.jboss.weld.core"/>
        <module name="javax.annotation.api" export="true"/>
        <module name="javax.interceptor.api" export="true"/>
        <module name="org.wildfly.transaction.client"/>
        <module name="org.jboss.as.transactions">
            <imports>
                <include path="org.jboss.as.txn.integration"/>
            </imports>
        </module>

        <!-- For the ContextPropagationAsyncHandler used with the context propagation feature pack -->
        <module name="org.wildfly.reactive.dep.jts" services="import" optional="true"/>
        <module name="java.xml"/>
    </dependencies>
</module>
