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

    <main-class name="org.jboss.as.cli.CommandLineMain"/>

    <resources>
        <resource-root path="wildfly-cli-28.0.1.Final.jar"/>
    </resources>

    <exports>
        <exclude path="org/jboss/as/cli/impl/_private"/>
    </exports>

    <dependencies>
        <module name="java.datatransfer"/>
        <!-- for java.beans -->
        <module name="java.desktop"/>
        <module name="java.logging"/>
        <module name="java.management"/>
        <module name="java.prefs"/>
        <module name="java.security.sasl"/>
        <module name="java.xml"/>
        <module name="org.aesh" export="true"/>
        <module name="org.jboss.modules"/>
        <module name="org.jboss.as.controller-client"/>
        <module name="org.jboss.as.protocol"/>
        <module name="org.wildfly.security.elytron-private" services="import"/>
        <!-- optional dep that we will remove when galleon patching is used-->
        <module name="org.jboss.as.patching.cli" optional="true" services="import"/>
        <module name="org.jboss.dmr"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.logmanager" services="import"/>
        <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"/>
        <module name="org.wildfly.common"/>
        <module name="org.wildfly.embedded"/>
        <module name="org.wildfly.installation-manager" services="import"/>
    </dependencies>

</module>
