<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2018 Red Hat, Inc. and/or its affiliates
  ~ and other contributors as indicated by the @author tags.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<module name="org.wildfly.extension.microprofile.opentracing-smallrye" xmlns="urn:jboss:module:1.9">

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

    <resources>
        <resource-root path="wildfly-microprofile-opentracing-extension-24.0.1.Final.jar"/>
    </resources>

    <dependencies>
        <module name="org.jboss.as.controller"/>
        <module name="org.jboss.as.server"/>
        <module name="org.jboss.as.web-common"/>
        <module name="org.jboss.as.weld.common"/>
        <module name="org.jboss.as.ee"/>
        <module name="org.jboss.as.network"/>

        <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.wildfly.security.elytron"/>

        <module name="javax.enterprise.api"/>
        <module name="org.eclipse.microprofile.config.api"/>
        <module name="io.opentracing.opentracing-api"/>
        <module name="io.opentracing.opentracing-noop"/>
        <module name="io.opentracing.opentracing-util"/>
        <module name="org.wildfly.microprofile.opentracing-smallrye"/>
        <!-- Not optinal because it is required by JaegerEnvTracerConfiguration for retro-compatibility but other tracer implementations should be optional-->
        <module name="io.jaegertracing.jaeger"/>
    </dependencies>
</module>
