<?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.host-controller">
    <properties>
        <property name="jboss.api" value="private"/>
        <property name="jboss.require-java-version" value="11"/>
    </properties>

    <main-class name="org.jboss.as.host.controller.Main"/>

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

    <dependencies>
        <!-- for java.beans -->
        <module name="java.desktop"/>
        <module name="java.logging"/>
        <module name="java.management"/>
        <module name="java.security.sasl"/>
        <module name="java.xml"/>

        <module name="io.undertow.core" />
        <module name="org.jboss.as.controller"/>
        <module name="org.jboss.as.deployment-repository"/>
        <module name="org.jboss.as.domain-http-interface"/>
        <module name="org.jboss.as.domain-management"/>
        <module name="org.jboss.as.jmx" services="import"/>
        <module name="org.jboss.as.management-client-content"/>
        <module name="org.jboss.as.network"/>
        <module name="org.jboss.as.patching" optional="true" services="import"/>
        <module name="org.jboss.as.platform-mbean"/>
        <module name="org.jboss.as.process-controller"/>
        <module name="org.jboss.as.protocol">
            <imports>
                <include path="**" />
            </imports> 
        </module>
        <module name="org.jboss.as.remoting"/>
        <module name="org.jboss.as.server" services="import"/>
        <module name="org.jboss.as.version"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.logmanager" services="import"/>
        <module name="org.jboss.marshalling"/>
        <module name="org.jboss.modules"/>
        <module name="org.jboss.msc"/>
        <module name="org.jboss.remoting"/>
        <module name="org.jboss.staxmapper"/>
        <module name="org.jboss.stdio"/>
        <module name="org.jboss.threads"/>
        <module name="org.jboss.vfs" services="import"/>
        <module name="org.jboss.xnio"/>
        <module name="org.wildfly.common"/>
        <module name="org.wildfly.embedded"/>
        <module name="org.wildfly.installation-manager" services="import"/>
        <module name="org.wildfly.security.elytron-private" services="import"/>
        <module name="org.wildfly.service"/>
    </dependencies>
</module>
