<?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.jboss.as.ejb3">
    <properties>
        <property name="jboss.api" value="private"/>
    </properties>

    <resources>
        <artifact name="${org.wildfly:wildfly-ejb3}"/>
        <resource-root path="timers" />
    </resources>

    <dependencies>
        <module name="java.desktop"/>
        <module name="java.management"/>
        <module name="java.naming"/>
        <module name="java.rmi"/>
        <module name="java.sql"/>
        <module name="java.transaction.xa"/>
        <module name="java.xml"/>

        <module name="javax.orb.api"/>
        <module name="javax.rmi.api"/>

        <module name="jakarta.annotation.api"/>
        <module name="jakarta.ejb.api"/>
        <!-- Needed for integration with hibernate validator -->
        <module name="jakarta.enterprise.api" optional="true"/>
        <module name="jakarta.interceptor.api"/>
        <module name="jakarta.jms.api"/>
        <module name="jakarta.persistence.api" />
        <!-- For message inflow -->
        <module name="jakarta.resource.api"/>
        <module name="jakarta.security.jacc.api"/>
        <module name="jakarta.transaction.api"/>

        <module name="io.smallrye.jandex"/>
        <!-- Needed for EJB over HTTP support-->
        <module name="io.undertow.core" />

        <!-- Needed for integration with hibernate validator -->
        <module name="org.hibernate.validator" optional="true"/>
        <module name="org.hibernate.validator.cdi" optional="true"/>

        <module name="org.jboss.as.clustering.common"/>
        <module name="org.jboss.as.controller"/>
        <!-- So we can access its integration API -->
        <module name="org.jboss.as.connector"/>
        <!-- Need access to org.jboss.as.core.security.ServerSecurityManager -->
        <module name="org.jboss.as.core-security"/>
        <!-- Need access to org.jboss.as.domain.management.SecurityRealm for authentication of EJB cluster nodes
         in EJB client context-->
        <module name="org.jboss.as.clustering.common"/>
        <module name="org.jboss.as.connector"/>
        <module name="org.jboss.as.controller"/>
        <module name="org.jboss.as.core-security"/>
        <module name="org.jboss.as.domain-management"/>
        <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.as.threads"/>
        <module name="org.jboss.as.transactions"/>
        <!-- Needed for integration with hibernate validator -->
        <module name="org.jboss.as.weld.common" optional="true"/>

        <module name="org.jboss.classfilewriter"/>
        <module name="org.jboss.common-beans" services="import"/>
        <module name="org.jboss.ejb-client" services="import"/>
        <module name="org.jboss.ejb3"/>
        <module name="org.jboss.iiop-client"/>
        <module name="org.jboss.invocation"/>
        <module name="org.jboss.ironjacamar.api"/>
        <!-- For recovery manager (com.arjuna.ats.jbossatx.jta.RecoveryManagerService) -->
        <module name="org.jboss.jboss-transaction-spi"/>
        <module name="org.jboss.jts.integration"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.marshalling"/>
        <module name="org.jboss.marshalling.river" services="import"/>
        <!-- the EE metadata -->
        <module name="org.jboss.metadata.common"/>
        <module name="org.jboss.metadata.ejb"/>
        <module name="org.jboss.metadata.ear"/>
        <!-- Access to the ModuleClassLoader -->
        <module name="org.jboss.modules"/>
        <!-- Access to ServiceName -->
        <module name="org.jboss.msc"/>
        <module name="org.jboss.remoting"/>
        <module name="org.jboss.staxmapper"/>
        <!-- For parser DUP -->
        <module name="org.jboss.vfs"/>

        <module name="org.omg.api"/>

        <module name="org.wildfly.clustering.cache.spi"/>
        <module name="org.wildfly.clustering.context"/>
        <module name="org.wildfly.clustering.ejb.spi"/>
        <module name="org.wildfly.clustering.infinispan.embedded.service"/>
        <module name="org.wildfly.clustering.marshalling.jboss"/>
        <module name="org.wildfly.clustering.server.api"/>
        <module name="org.wildfly.clustering.server.local"/>
        <module name="org.wildfly.clustering.server.service"/>
        <module name="org.wildfly.clustering.server.spi"/>
        <module name="org.wildfly.clustering.service"/>
        <module name="org.wildfly.clustering.singleton.api"/>
        <module name="org.wildfly.common"/>
        <module name="org.wildfly.discovery"/>
        <module name="org.wildfly.extension.request-controller"/>
        <module name="org.wildfly.http-client.ejb" services="import"/>
        <module name="org.wildfly.iiop-openjdk"/>
        <module name="org.wildfly.security.elytron-private"/>
        <module name="org.wildfly.security.jakarta.authorization"/>
        <module name="org.wildfly.service"/>
        <module name="org.wildfly.subsystem"/>
        <module name="org.wildfly.transaction.client"/>

    </dependencies>
</module>
