<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>io.opns.otl</groupId>
        <artifactId>opentracing-lite</artifactId>
        <version>0.2.16-alpha</version>
    </parent>
    <groupId>io.opns.otl</groupId>
    <artifactId>otl-slf4j</artifactId>
    <version>0.2.16-alpha</version>
    
    <name>otl-slf4j</name>
    
    <dependencies>
        <dependency>
            <groupId>io.opns.otl</groupId>
            <artifactId>otl-api</artifactId>
            <version>0.2.16-alpha</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <!--
              Using 2.0.0-alpha1 emits the below error:
              Classpath contains SLF4J bindings targeting slf4j-api versions prior to 1.8.
              It is because the springboot and other libraries are still using older version
              of logback (1.2.3) or log4j (2.12.1).
              Therefore downgrading the version to just prior 1.8.0
              
            <version>2.0.0-alpha1</version>
            -->
            <version>1.7.25</version>
        </dependency>
    </dependencies>
        
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>3.0.0-M4</version>
                <dependencies>
                    <dependency>
                        <groupId>org.junit.jupiter</groupId>
                        <artifactId>junit-jupiter-engine</artifactId>
                        <version>5.6.1</version>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>
</project>
