<?xml version="1.0" encoding="UTF-8"?>
<!--
  Publishing POM for voltdbclient.
  This POM is used when deploying to Maven Central and lists only the
  external dependencies that consumers need to provide.

  The actual jar is built using pom.xml which includes internal volt-*
  modules for the shade plugin to bundle.

  Usage: mvn deploy:deploy-file -DpomFile=pom-publish.xml -Dfile=target/voltdbclient-${version}.jar
-->
<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>

  <groupId>org.voltdb</groupId>
  <artifactId>voltdbclient</artifactId>
  <version>15.2.0</version>
  <packaging>jar</packaging>

  <name>VoltDB Java Client</name>
  <description>VoltDB Java client library for connecting to VoltDB clusters</description>
  <url>https://www.voltactivedata.com</url>

  <licenses>
    <license>
      <name>MIT License</name>
      <url>https://opensource.org/licenses/MIT</url>
    </license>
  </licenses>

  <developers>
    <developer>
      <name>Volt Active Data Team</name>
      <email>support@voltactivedata.com</email>
      <organization>Volt Active Data</organization>
      <organizationUrl>https://www.voltactivedata.com</organizationUrl>
    </developer>
  </developers>

  <scm>
    <connection>scm:git:git://github.com/voltdb/voltdb.git</connection>
    <developerConnection>scm:git:ssh://github.com:voltdb/voltdb.git</developerConnection>
    <url>https://github.com/voltdb/voltdb</url>
  </scm>

  <dependencies>
    <!-- Netty for SSL/TLS - required -->
    <dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-buffer</artifactId>
      <version>4.1.132.Final</version>
    </dependency>
    <dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-common</artifactId>
      <version>4.1.132.Final</version>
    </dependency>
    <dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-handler</artifactId>
      <version>4.1.132.Final</version>
    </dependency>
    <!-- Netty tcnative for native SSL/TLS performance - optional but recommended -->
    <dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-tcnative-boringssl-static</artifactId>
      <version>2.0.75.Final</version>
      <scope>runtime</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>io.netty</groupId>
      <artifactId>netty-tcnative-classes</artifactId>
      <version>2.0.75.Final</version>
    </dependency>
    <!-- Guava - required -->
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <version>32.1.2-jre</version>
    </dependency>
    <!-- Kafka client - only needed if using VoltDBKafkaPartitioner -->
    <dependency>
      <groupId>org.apache.kafka</groupId>
      <artifactId>kafka-clients</artifactId>
      <version>3.4.0</version>
      <scope>provided</scope>
      <optional>true</optional>
    </dependency>
  </dependencies>
</project>