<?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.extension.batch.jberet">

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

    <exports>
        <exclude path="org/wildfly/extension/batch/jberet/_private"/>
    </exports>

    <resources>
        <artifact name="${org.wildfly:wildfly-batch-jberet}"/>
    </resources>

    <dependencies>
        <module name="java.sql"/>
        <module name="jakarta.batch.api"/>
        <module name="jakarta.enterprise.api"/>
        <module name="jakarta.transaction.api"/>
        <module name="org.jberet.jberet-core" services="import"/>
        <module name="org.jboss.as.controller"/>
        <module name="org.jboss.as.ee"/>
        <module name="org.jboss.as.naming"/>
        <module name="org.jboss.as.threads"/>
        <module name="org.jboss.as.server"/>
        <!-- Only used if capability org.wildfly.weld is available -->
        <module name="org.jboss.as.weld.common" optional="true"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.modules"/>
        <module name="org.jboss.msc"/>
        <module name="org.jboss.weld.api" />
        <module name="org.jboss.weld.core" />
        <module name="org.jboss.weld.spi" />
        <module name="org.jboss.staxmapper"/>
        <module name="org.jboss.vfs"/>
        <module name="org.wildfly.common"/>
        <module name="org.wildfly.extension.request-controller"/>
        <module name="org.wildfly.security.elytron-private"/>
        <module name="org.wildfly.transaction.client"/>
        <module name="java.xml"/>
        <module name="java.desktop"/>
    </dependencies>
</module>
