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

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

    <exports>
        <exclude path="org/wildfly/core/jar/runtime/_private"/>
    </exports>

    <dependencies>
        <!-- JMX to expose server MBeans -->
        <!-- Fake java.management module required to access ManagementFactory -->
        <module name="java.management"/>
        <!-- module required to retrieve MBeanServer builder -->
        <module name="org.jboss.as.jmx" services="import"/>
        <!-- end JMX -->

        <module name="java.xml"/>
        <module name="java.desktop"/>
        <module name="java.logging"/>
        <module name="org.jboss.as.server"/>
        <module name="org.jboss.as.controller"/>
        <module name="org.jboss.as.controller-client"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.logmanager" services="import"/>
        <module name="org.jboss.modules"/>
        <module name="org.jboss.stdio"/>
        <module name="org.jboss.threads"/>
        <module name="org.jboss.dmr"/>
        <module name="org.jboss.as.process-controller"/>
        <module name="org.wildfly.common"/>
        <module name="org.wildfly.security.elytron-private" services="import"/>
        <module name="org.jboss.as.cli"/>
    </dependencies>

</module>
