<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->
<module name="org.jboss.as.weld" xmlns="urn:jboss:module:1.9">

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

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

    <resources>
        <artifact name="org.wildfly:wildfly-weld:35.0.0.Final"/>
    </resources>

    <dependencies>
        <module name="org.jboss.weld.api"/>
        <module name="org.jboss.weld.core"/>
        <module name="org.jboss.weld.spi"/>
        <module name="org.jboss.as.weld.spi"/>
        <module name="org.jboss.as.weld.common"/>
        <module name="org.jboss.as.weld.ejb" optional="true" services="import"/>
        <module name="org.jboss.as.weld.jpa" optional="true" services="import"/>
        <module name="org.jboss.as.weld.beanvalidation" optional="true" services="import"/>
        <module name="org.jboss.as.weld.webservices" optional="true" services="import"/>
        <module name="org.jboss.as.weld.transactions" optional="true" services="import"/>
        <module name="java.naming"/>
        <module name="java.xml"/>
        <module name="jakarta.annotation.api"/>
        <module name="jakarta.enterprise.api"/>
        <module name="jakarta.enterprise.concurrent.api"/>
        <module name="jakarta.interceptor.api"/>
        <module name="jakarta.servlet.api"/>
        <module name="jakarta.servlet.jsp.api"/>
        <module name="jakarta.transaction.api"/>
        <module name="jakarta.validation.api"/>
        <module name="org.glassfish.expressly"/>
        <module name="io.smallrye.jandex"/>
        <module name="org.jboss.staxmapper"/>
        <module name="org.jboss.as.controller"/>
        <!-- Only needed if capability 'org.wildfly.legacy-security.server-security-manager' is present -->
        <module name="org.jboss.as.core-security" optional="true"/>
        <module name="org.jboss.as.ee"/>
        <module name="org.jboss.as.naming"/>
        <module name="org.wildfly.security.elytron-private"/>
        <module name="org.jboss.as.server"/>
        <module name="org.jboss.as.web-common"/>
        <module name="org.jboss.invocation"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.metadata.common"/>
        <module name="org.jboss.metadata.web"/>
        <module name="org.jboss.metadata.ear"/>
        <module name="org.jboss.modules"/>
        <module name="org.jboss.msc"/>
        <module name="org.jboss.threads"/>
        <module name="org.jboss.vfs"/>
    </dependencies>

</module>
