<?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/maven-v4_0_0.xsd">
  <parent>
    <artifactId>arpnetworking-parent-pom</artifactId>
    <groupId>com.arpnetworking.build</groupId>
    <version>1.0.29</version>
    <relativePath>pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.arpnetworking.metrics.extras</groupId>
  <artifactId>file-sink-extra</artifactId>
  <name>File Sink Extra</name>
  <version>0.7.0</version>
  <description>File sink for metrics client.</description>
  <url>https://github.com/ArpNetworking/metrics-file-sink-extra</url>
  <developers>
    <developer>
      <id>brandonarp</id>
      <email>brandon.arp@inscopemetrics.com</email>
      <organization>Inscope Metrics</organization>
      <organizationUrl>http://www.inscopemetrics.com</organizationUrl>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
    <developer>
      <id>villekoskela</id>
      <email>ville.koskela@inscopemetrics.com</email>
      <organization>Inscope Metrics</organization>
      <organizationUrl>http://www.inscopemetrics.com</organizationUrl>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:git@github.com:arpnetworking/metrics-file-sink-extra.git</connection>
    <developerConnection>scm:git:git@github.com:arpnetworking/metrics-file-sink-extra.git</developerConnection>
    <tag>file-sink-extra-0.7.0</tag>
    <url>https://github.com/arpnetworking/metrics-file-sink-extra</url>
  </scm>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-checkstyle-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-failsafe-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>com.rimerosolutions.maven.plugins</groupId>
        <artifactId>wrapper-maven-plugin</artifactId>
        <inherited>false</inherited>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>${maven.shade.plugin.version}</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <minimizeJar>false</minimizeJar>
          <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
          <artifactSet>
            <excludes />
            <includes>
              <include>ch.qos.logback:logback-classic</include>
              <include>ch.qos.logback:logback-core</include>
              <include>com.arpnetworking.logback:logback-steno</include>
              <include>com.fasterxml.jackson.core:jackson-core</include>
              <include>com.fasterxml.jackson.core:jackson-databind</include>
              <include>com.fasterxml.jackson.core:jackson-annotations</include>
              <include>com.fasterxml.jackson.module:jackson-module-afterburner</include>
              <include>joda-time:joda-time</include>
            </includes>
          </artifactSet>
          <filters>
            <filter>
              <artifact>ch.qos.logback:logback-classic</artifact>
              <excludes>
                <exclude>META-INF/**</exclude>
                <exclude>org/slf4j/**</exclude>
                <exclude>ch/qos/logback/classic/selector/**</exclude>
              </excludes>
            </filter>
            <filter>
              <artifact>ch.qos.logback:logback-core</artifact>
              <excludes>
                <exclude>META-INF/**</exclude>
                <exclude>ch/qos/logback/classic/selector/**</exclude>
              </excludes>
            </filter>
            <filter>
              <artifact>com.arpnetworking.logback:logback-steno</artifact>
              <excludes>
                <exclude>META-INF/**</exclude>
              </excludes>
            </filter>
            <filter>
              <artifact>joda-time:joda-time</artifact>
              <excludes>
                <exclude>META-INF/**</exclude>
              </excludes>
            </filter>
            <filter>
              <artifact>com.fasterxml.jackson.core:jackson-core</artifact>
              <excludes>
                <exclude>META-INF/**</exclude>
              </excludes>
            </filter>
            <filter>
              <artifact>com.fasterxml.jackson.core:jackson-databind</artifact>
              <excludes>
                <exclude>META-INF/**</exclude>
              </excludes>
            </filter>
            <filter>
              <artifact>com.fasterxml.jackson.core:jackson-annotations</artifact>
              <excludes>
                <exclude>META-INF/**</exclude>
              </excludes>
            </filter>
            <filter>
              <artifact>com.fasterxml.jackson.module:jackson-module-afterburner</artifact>
              <excludes>
                <exclude>META-INF/**</exclude>
              </excludes>
            </filter>
          </filters>
          <relocations>
            <relocation>
              <pattern>ch.qos.logback</pattern>
              <shadedPattern>com.arpnetworking.metrics.filesinkextra.shaded.ch.qos.logback</shadedPattern>
            </relocation>
            <relocation>
              <pattern>org.apache.commons</pattern>
              <shadedPattern>com.arpnetworking.metrics.filesinkextra.shaded.org.apache.commons</shadedPattern>
            </relocation>
            <relocation>
              <pattern>com.arpnetworking.logback</pattern>
              <shadedPattern>com.arpnetworking.metrics.filesinkextra.shaded.com.arpnetworking.logback</shadedPattern>
            </relocation>
            <relocation>
              <pattern>com.arpnetworking.steno</pattern>
              <shadedPattern>com.arpnetworking.metrics.filesinkextra.shaded.com.arpnetworking.steno</shadedPattern>
            </relocation>
            <relocation>
              <pattern>com.fasterxml.jackson</pattern>
              <shadedPattern>com.arpnetworking.metrics.filesinkextra.shaded.com.fasterxml.jackson</shadedPattern>
            </relocation>
            <relocation>
              <pattern>org.joda.time</pattern>
              <shadedPattern>com.arpnetworking.metrics.filesinkextra.shaded.org.joda.time</shadedPattern>
            </relocation>
          </relocations>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.7.21</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.arpnetworking.metrics</groupId>
      <artifactId>metrics-client</artifactId>
      <version>0.7.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.arpnetworking.commons</groupId>
      <artifactId>commons</artifactId>
      <version>1.9.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.google.code.findbugs</groupId>
      <artifactId>findbugs-annotations</artifactId>
      <version>3.0.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.google.code.findbugs</groupId>
      <artifactId>jsr305</artifactId>
      <version>3.0.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.aspectj</groupId>
      <artifactId>aspectjrt</artifactId>
      <version>1.8.9</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  <properties>
    <metrics.client.version>0.7.0</metrics.client.version>
    <slf4j.version>1.7.21</slf4j.version>
    <jacoco.check.branch.coverage>1.0</jacoco.check.branch.coverage>
    <junit.version>4.12</junit.version>
    <json-schema-core.version>1.2.5</json-schema-core.version>
    <hamcrest.version>2.0.0.0</hamcrest.version>
    <maven.shade.plugin.version>2.4.3</maven.shade.plugin.version>
    <jacoco.check.line.coverage>1.0</jacoco.check.line.coverage>
    <logback.steno.version>1.16.1</logback.steno.version>
    <logback.version>1.1.7</logback.version>
    <json-jackson-coreutils.version>1.8</json-jackson-coreutils.version>
    <jackson.version>2.7.4</jackson.version>
    <mockito.version>1.10.19</mockito.version>
    <jsr305.version>3.0.1</jsr305.version>
    <json-schema-validator.version>2.2.6</json-schema-validator.version>
  </properties>
</project>

