<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.mule.runtime</groupId>
        <artifactId>mule-modules</artifactId>
        <version>4.13.0-SNAPSHOT</version>
    </parent>

    <artifactId>mule-module-observability-otel</artifactId>
    <name>Mule Observability OTel Module</name>
    <description>OTel-specific observability utilities shared across signal exporters (tracing, logging, metrics)</description>

    <properties>
        <javaModuleName>org.mule.runtime.module.observability.otel</javaModuleName>
        <!-- OTel API types appear in this module's public API; the analyze goal requires all
             transitively-reachable packages to be re-exported, which is not feasible for
             third-party OTel modules. Same approach as modules/logging. -->
        <skipMuleModuleMojos>true</skipMuleModuleMojos>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.mule.runtime</groupId>
            <artifactId>mule-module-observability</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>io.opentelemetry</groupId>
            <artifactId>opentelemetry-api</artifactId>
        </dependency>

        <!-- Test Dependencies -->
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>


</project>
