<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<module xmlns="urn:jboss:module:1.9" name="org.wildfly.extension.microprofile.lra-coordinator">
  <properties>
    <property name="jboss.api" value="private"/>
  </properties>

  <resources>
    <artifact name="${org.wildfly:wildfly-microprofile-lra-coordinator}"/>
  </resources>

  <dependencies>
    <module name="org.jboss.narayana.rts.lra-coordinator"/>
    <module name="org.jboss.jts"/>
    <module name="org.jboss.jboss-transaction-spi"/>

    <module name="jakarta.ws.rs.api" />
    <module name="jakarta.servlet.api"/>
    <module name="io.undertow.core"/>
    <module name="io.undertow.servlet"/>
    <module name="org.wildfly.extension.undertow"/>

    <!-- Loading JAX-RS dependencies for LRA coordinator boot up -->
    <module name="org.jboss.resteasy.resteasy-jaxrs" services="export"/>
    <module name="org.jboss.resteasy.resteasy-jaxb-provider" services="export"/>
    <module name="org.hibernate.validator" services="export"/>
    <module name="org.jboss.resteasy.resteasy-jackson2-provider" services="export"/>

    <module name="org.jboss.as.controller"/>
    <module name="org.jboss.as.server"/>
    <module name="org.jboss.logging"/>
    <module name="org.jboss.modules"/>
    <module name="org.jboss.staxmapper"/>
    <module name="org.wildfly.security.manager"/>
  </dependencies>
</module>
