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

    <exports>
        <exclude path="org/jboss/as/domain/management/logging"/>
        <exclude path="org/jboss/as/domain/management/_private"/>
    </exports>

    <resources>
        <artifact name="${org.wildfly.core:wildfly-domain-management}"/>
    </resources>

    <dependencies>
        <module name="java.naming"/>
        <module name="java.security.jgss"/>
        <module name="java.security.sasl"/>
        <module name="java.xml"/>
        <module name="org.wildfly.common" />
        <module name="org.wildfly.security.elytron-private" />
        <module name="org.jboss.as.controller" />
        <module name="org.jboss.as.core-security"/>
        <!-- for SecurityRealmService ADDITIONAL_PERMISSION -->
        <module name="org.jboss.ejb-client" optional="true" />
        <module name="org.jboss.logging" />
        <module name="org.jboss.logmanager"/>
        <module name="org.jboss.modules" />
        <module name="org.jboss.msc" />
        <module name="org.jboss.staxmapper"/>
        <!-- used with jaas authentication -->
        <!-- for SecurityRealmService ADDITIONAL_PERMISSION -->
        <module name="org.wildfly.transaction.client" optional="true" />
    </dependencies>
</module>
