<?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.clustering.jgroups">

    <properties>
        <property name="jboss.api" value="private"/>
    </properties>

    <exports>
        <exclude path="org/jboss/as/clustering/jgroups/logging"/>
    </exports>

    <resources>
        <artifact name="${org.wildfly:wildfly-clustering-jgroups-extension}"/>
    </resources>

    <dependencies>
        <module name="java.management"/>
        <module name="java.sql"/>
        <module name="java.xml"/>

        <module name="org.jboss.as.clustering.common"/>
        <module name="org.jboss.as.controller"/>
        <module name="org.jboss.as.naming"/>
        <module name="org.jboss.as.network"/>
        <module name="org.jboss.as.server"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.modules"/>
        <module name="org.jboss.msc"/>
        <module name="org.jboss.staxmapper"/>
        <module name="org.jgroups"/>
        <module name="org.wildfly.clustering.context"/>
        <module name="org.wildfly.clustering.jgroups.spi"/>
        <module name="org.wildfly.clustering.server.api"/>
        <module name="org.wildfly.clustering.server.service"/>
        <module name="org.wildfly.common"/>
        <module name="org.wildfly.security.elytron-private"/>
        <module name="org.wildfly.service"/>
        <module name="org.wildfly.subsystem"/>

        <!-- Ensure galleon provisions the default channel module -->
        <module name="org.wildfly.clustering.server"/>
    </dependencies>
</module>
