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

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

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

    <dependencies>
        <module name="org.wildfly.extension.opentelemetry-api"/>
        <module name="io.netty.netty-common"/>
        <module name="io.opentelemetry.api"/>
        <module name="io.opentelemetry.sdk"/>
        <module name="io.opentelemetry.context"/>
        <module name="io.opentelemetry.exporter"/>
        <module name="io.smallrye.opentelemetry" services="import"/>
        <!-- Needed to initialise the vert.x logger if the module is present -->
        <module name="io.vertx.core"/>

        <module name="java.logging"/>
        <module name="jakarta.enterprise.api"/>

        <module name="org.jboss.as.controller"/>
        <module name="org.jboss.as.ee"/>
        <module name="org.jboss.as.network"/>
        <module name="org.jboss.as.server"/>
        <module name="org.jboss.as.web-common"/>
        <module name="org.jboss.as.weld.common"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.metadata.common"/>
        <module name="org.jboss.metadata.web"/>
        <module name="org.jboss.modules"/>
        <module name="org.jboss.staxmapper"/>
        <module name="org.jboss.weld.api"/>
        <module name="org.jboss.weld.spi"/>

        <module name="org.wildfly.security.manager"/>
        <module name="org.wildfly.subsystem"/>
    </dependencies>
</module>
