<?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.as.transactions" xmlns="urn:jboss:module:1.9">

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

    <exports>
        <exclude path="org/jboss/as/txn/logging"/>
    </exports>

    <resources>
        <resource-root path="wildfly-transactions-24.0.1.Final.jar"/>
    </resources>

    <dependencies>
        <module name="java.management"/>
        <!--WFLY-14219 Remove deprecated <module name="javax.api"/> -->
        <module name="javax.resource.api"/>
        <module name="javax.transaction.api"/>
        <module name="javax.enterprise.concurrent.api"/>
        <module name="org.glassfish.javax.enterprise.concurrent"/>
        <module name="org.jboss.staxmapper"/>
        <module name="org.jboss.as.controller"/>
        <module name="org.jboss.as.ee"/>
        <module name="org.jboss.as.naming"/>
        <module name="org.jboss.as.network"/>
        <module name="org.jboss.as.server"/>
        <module name="org.jboss.jboss-transaction-spi"/>
        <module name="org.jboss.msc"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.jts"/>
        <module name="org.jboss.jts.integration"/>
        <module name="org.omg.api"/>
        <module name="org.wildfly.iiop-openjdk"/>
        <module name="org.wildfly.common"/>
        <module name="org.wildfly.transaction.client"/>
        <module name="org.jboss.jandex"/>
        <module name="org.jboss.modules"/>
        <module name="org.wildfly.security.manager"/>

        <!-- Only used if the org.wildfly.undertow.http-invoker capability is present,
             in which case this module will also be present.
             TODO Work out how to mark http-client.transaction as 'passive' so we
             can make it optional here but have it provisioned if http is available
        -->
        <module name="io.undertow.core"/>
        <module name="org.wildfly.http-client.transaction"/>

        <!-- Only used if the org.jboss.remoting.endpoint capability is present,
             in which case this module will also be present. -->
        <module name="org.jboss.remoting" optional="true"/>

        <module name="java.xml"/>
        <module name="java.desktop"/>
    </dependencies>
</module>
