<?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 xmlns="urn:jboss:module:1.9" name="org.wildfly.microprofile.opentracing-smallrye">

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

    <resources>
        <artifact name="${org.jboss.eap:wildfly-microprofile-opentracing-smallrye}"/>
    </resources>

    <dependencies>
        <module name="java.naming"/>
        <!--WFLY-14219 Remove deprecated <module name="javax.api"/> --> <!-- for javax.naming -->

        <module name="javax.annotation.api"/>
        <module name="javax.enterprise.api"/>
        <module name="javax.enterprise.concurrent.api"/>
        <module name="javax.inject.api"/>
        <module name="javax.interceptor.api"/>
        <module name="javax.servlet.api"/>
        <module name="javax.ws.rs.api"/>

        <module name="io.opentracing.opentracing-api"/>
        <module name="io.opentracing.opentracing-noop"/>
        <module name="io.opentracing.contrib.opentracing-concurrent"/>
        <module name="io.opentracing.contrib.opentracing-jaxrs2"/>
        <module name="io.opentracing.contrib.opentracing-web-servlet-filter"/>
        <module name="io.opentracing.contrib.opentracing-interceptors" services="import"/>

        <module name="io.smallrye.config"/>
        <module name="io.smallrye.opentracing"/>

        <module name="org.jboss.dmr"/>
        <module name="org.jboss.logging"/>
        <module name="org.wildfly.security.manager"/>
        <module name="org.jboss.resteasy.resteasy-jaxrs"/>
        <module name="org.eclipse.microprofile.config.api"/>
        <module name="org.eclipse.microprofile.opentracing"/>
    </dependencies>
</module>
