<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (C) rootware.net.
  ~
  ~ This file is part of the rootware.net software.
  ~
  ~ The rootware software is free software; you can redistribute it and/or
  ~ modify it under the terms of the GNU Lesser General Public
  ~ License as published by the Free Software Foundation; either
  ~ version 2.1 of the License, or (at your option) any later version.
  ~
  ~ The rootware software is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  ~ Lesser General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Lesser General Public
  ~ License along with the rootware software; if not, write to the Free
  ~ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  ~ 02111-1307 USA.
  -->

<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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>net.rootware</groupId>
        <artifactId>componentparent</artifactId>
        <version>1.1.0-4</version>
    </parent>
    <artifactId>xlog</artifactId>
    <packaging>jar</packaging>
    <version>1.1.0-3</version>
    <scm>
        <connection>scm:git:git@github.com:rootwarenet/xlog.git</connection>
        <developerConnection>scm:git:git@github.com:rootwarenet/xlog.git</developerConnection>
        <url>https://github.com/rootwarenet/xlog</url>
        <tag>HEAD</tag>
    </scm>

    <build>
        <plugins>
            <!-- https://maven.apache.org/enforcer/maven-enforcer-plugin -->
            <!-- http://www.scottbattaglia.com/2013/01/16/maven-enforcer-plugin-and-commons-logging -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
                <version>1.0</version>
                <executions>
                    <execution>
                        <id>enforce-banned-dependencies</id>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                        <configuration>
                            <rules>
                                <bannedDependencies>
                                    <excludes>
                                        <exclude>slf4j-simple</exclude>
                                    </excludes>
                                </bannedDependencies>
                            </rules>
                            <fail>true</fail>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>[1.7,1.7.99)</version>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <version>1.1.6</version>
        </dependency>
        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-core</artifactId>
            <version>1.1.6</version>
        </dependency>
        <!-- Make components that use log4j plumbed to use slf4j
            See: http://www.slf4j.org/legacy.html -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>log4j-over-slf4j</artifactId>
            <version>1.7.18</version>
            <exclusions>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-jdk14</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- Test -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>[4,)</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>
