<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->
<module name="io.smallrye.opentelemetry" xmlns="urn:jboss:module:1.9">
    <properties>
        <property name="jboss.api" value="private"/>
    </properties>
    <resources>
        <resource-root path="smallrye-opentelemetry-api-2.9.2.jar"/>
        <resource-root path="smallrye-opentelemetry-cdi-2.9.2.jar"/>
        <resource-root path="smallrye-opentelemetry-exporters-2.9.2.jar"/>
        <resource-root path="smallrye-opentelemetry-propagation-2.9.2.jar"/>
        <resource-root path="smallrye-opentelemetry-rest-2.9.2.jar"/>
    </resources>

    <dependencies>
        <module name="io.opentelemetry.api"/>
        <module name="io.opentelemetry.api.events"/>
        <module name="io.opentelemetry.context"/>
        <module name="io.opentelemetry.exporter"/>
        <module name="io.opentelemetry.otlp"/>
        <module name="io.opentelemetry.sdk"/>
        <module name="io.opentelemetry.semconv"/>
        <module name="io.opentelemetry.instrumentation.api"/>
        <module name="io.opentelemetry.instrumentation.annotations"/>
        <module name="io.smallrye.common.annotation"/>
        <module name="io.smallrye.reactive.mutiny"/>

        <module name="org.jboss.resteasy.resteasy-core"/>
        <module name="org.jboss.resteasy.resteasy-core-spi"/>
        <module name="io.grpc"/>
        <module name="io.vertx.core"/>
        <module name="io.vertx.grpc-client"/>
        <module name="io.vertx.grpc-common"/>
        <module name="io.netty.netty-buffer"/>

        <module name="org.jboss.weld.core"/>
        <module name="org.jboss.weld.spi"/>
        <module name="org.jboss.weld.api"/>
        <module name="jakarta.enterprise.api"/>
        <module name="jakarta.ws.rs.api" services="import"/>

        <module name="java.logging"/>
        <!-- Needed to satisfy bean injection in this module -->
        <module name="org.wildfly.extension.opentelemetry-api"/>
        <module name="org.wildfly.extension.microprofile.telemetry-api" optional="true"/>
    </dependencies>
</module>
