<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->
<module name="org.jboss.as.naming" xmlns="urn:jboss:module:1.9">
    <properties>
        <property name="jboss.api" value="private"/>
    </properties>

    <resources>
        <artifact name="org.wildfly:wildfly-naming:31.0.0.Final"/>
    </resources>

    <dependencies>
        <!-- It is used only if org.wildfly.undertow.http-invoker capability is available -->
        <module name="io.undertow.core" optional="true"/>
        <module name="java.naming"/>
        <module name="java.xml"/>
        <module name="org.wildfly.http-client.naming"/>
        <module name="org.wildfly.common"/>
        <module name="org.jboss.staxmapper"/>
        <module name="org.jboss.as.controller"/>
        <module name="org.wildfly.security.elytron-private"/>
        <module name="org.jboss.as.server"/>
        <module name="org.jboss.invocation"/>
        <module name="org.jboss.modules"/>
        <module name="org.jboss.msc"/>
        <module name="org.jboss.logging"/>
        <module name="org.wildfly.naming-client"/>
        <!-- Use only by RemoteNamingResourceDefinition resource -->
        <module name="org.jboss.remoting" optional="true"/>
        <module name="org.jboss.threads"/>
        <!--
        The Angus Mail services are required to be able to load the Jakarta Mail Session from this Module context classloader
        when listing the Mail context stored in the JNDI tree.
        -->
        <module name="org.eclipse.angus.mail" services="import" optional="true">
            <imports>
                <include path="META-INF"/>
            </imports>
        </module>
    </dependencies>

</module>
