<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ // (Copyright) [2019-${current_year}] Confluent, Inc.
  -->

<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">
    <parent>
        <artifactId>confluent-security-plugins</artifactId>
        <groupId>io.confluent</groupId>
        <version>5.4.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>confluent-ksql-security-plugin</artifactId>

    <dependencies>
        <dependency>
            <groupId>io.confluent</groupId>
            <artifactId>rest-utils</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>io.confluent.ksql</groupId>
            <artifactId>ksql-rest-app</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>io.confluent</groupId>
            <artifactId>confluent-security-plugins-common</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>io.confluent</groupId>
            <artifactId>rest-authorizer</artifactId>
            <version>${ce.kafka.version}</version>
        </dependency>
        <dependency>
            <groupId>io.confluent</groupId>
            <artifactId>authorizer</artifactId>
            <version>${ce.kafka.version}</version>
        </dependency>

        <!-- To ensure that KSQL is run with all CE jars when plugins are installed, plugins package
             needs CE versions of all Kafka jars used by KSQL. Since we don't include KSQL in the
             plugins package, ce-kafka dependencies of KSQL that are not actual plugin dependencies
             are also added here as dependencies.
         -->
        <dependency>
            <groupId>org.apache.kafka</groupId>
            <artifactId>kafka-streams</artifactId>
        </dependency>
        <dependency>
            <groupId>io.confluent.support</groupId>
            <artifactId>support-metrics-common</artifactId>
        </dependency>
    </dependencies>
</project>
