<?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/xsd/maven-4.0.0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>edu.byu.hbll</groupId>
    <artifactId>java-pom</artifactId>
    <version>1.3.1</version>
  </parent>

  <groupId>edu.byu.hbll</groupId>
  <artifactId>logback-kafka</artifactId>
  <version>1.0.1</version>
  <packaging>jar</packaging>

  <name>${project.groupId}:${project.artifactId}</name>
  <description>Kafka producer and consumer for logback log messages</description>
  <url>https://bitbucket.org/byuhbll/logback-kafka</url>

  <scm>
    <connection>scm:git:git://bitbucket.org/byuhbll/logback-kafka.git</connection>
    <developerConnection>scm:git:ssh://bitbucket.org:byuhbll/logback-kafka.git</developerConnection>
    <url>https://bitbucket.org/byuhbll/kafkalog</url>
  </scm>
  
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>edu.byu.hbll.logback.kafka.LogbackConsumer</mainClass>
            </manifest>
          </archive>
          <descriptorRefs>
            <descriptorRef>jar-with-dependencies</descriptorRef>
          </descriptorRefs>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.apache.kafka</groupId>
      <artifactId>kafka-clients</artifactId>
      <version>0.11.0.0</version>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <version>1.2.3</version>
    </dependency>
    <dependency>
      <groupId>edu.byu.hbll</groupId>
      <artifactId>config</artifactId>
      <version>3.2.0</version>
    </dependency>
  </dependencies>

</project>
