META-INF.maven.io.streamnative.pulsar.handlers.pulsar-protocol-handler-kafka-tests.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2019 - 2024 StreamNative, Inc.. All Rights Reserved. --> <!-- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <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>io.streamnative.pulsar.handlers</groupId> <artifactId>pulsar-protocol-handler-kafka-parent</artifactId> <version>3.3.1.8</version> </parent> <groupId>io.streamnative.pulsar.handlers</groupId> <artifactId>pulsar-protocol-handler-kafka-tests</artifactId> <name>StreamNative :: Pulsar Protocol Handler :: KoP Tests</name> <description>Tests for Kafka on Pulsar</description> <properties> <hydra.version>1.11.8</hydra.version> <kerby.version>2.0.3</kerby.version> </properties> <!-- include the dependencies --> <dependencies> <dependency> <groupId>io.streamnative.pulsar.handlers</groupId> <artifactId>kafka-client-api</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.streamnative.pulsar.handlers</groupId> <artifactId>kafka-client-factory</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.streamnative.pulsar.handlers</groupId> <artifactId>kafka-payload-processor-original</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-streams</artifactId> <version>${kafka.version}</version> </dependency> <dependency> <groupId>io.streamnative.pulsar.handlers</groupId> <artifactId>pulsar-protocol-handler-kafka</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>io.streamnative.pulsar.handlers</groupId> <artifactId>oauth-client-original</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>${pulsar.group.id}</groupId> <artifactId>pulsar-proxy</artifactId> <version>${pulsar.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>io.grpc</groupId> <artifactId>grpc-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.streamnative.pulsar.handlers</groupId> <artifactId>pulsar-kafka-proxy</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-inline</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>${pulsar.group.id}</groupId> <artifactId>pulsar-broker</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>${pulsar.group.id}</groupId> <artifactId>pulsar-broker</artifactId> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>${pulsar.group.id}</groupId> <artifactId>pulsar-broker-auth-sasl</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>${pulsar.group.id}</groupId> <artifactId>testmocks</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>${pulsar.group.id}</groupId> <artifactId>pulsar-client-original</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>${pulsar.group.id}</groupId> <artifactId>pulsar-client-admin-original</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>${pulsar.group.id}</groupId> <artifactId>pulsar-client-auth-sasl</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.streamnative.pulsar.handlers</groupId> <artifactId>test-listener</artifactId> <scope>test</scope> </dependency> <!-- needed for kafka.tools in KStreams integration tests --> <dependency> <groupId>io.confluent</groupId> <artifactId>kafka-schema-registry</artifactId> <version>${schema.registry.version}</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-common</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-module-scala_2.13</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-reload4j</artifactId> </exclusion> </exclusions> </dependency> <!-- this is needed for the Kafka Avro Serialiser --> <dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson-mapper-asl</artifactId> <version>1.9.13</version> <scope>test</scope> </dependency> <dependency> <groupId>io.confluent</groupId> <artifactId>kafka-avro-serializer</artifactId> <version>${schema.registry.version}</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>sh.ory.hydra</groupId> <artifactId>hydra-client</artifactId> <version>${hydra.version}</version> </dependency> <dependency> <groupId>io.fusionauth</groupId> <artifactId>fusionauth-jwt</artifactId> </dependency> <dependency> <groupId>org.apache.kerby</groupId> <artifactId>kerb-simplekdc</artifactId> <version>${kerby.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.avro</groupId> <artifactId>avro</artifactId> <version>1.11.3</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <phase>test</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <echo>copy protocol handler</echo> <copy file="${basedir}/../kafka-impl/target/pulsar-protocol-handler-kafka-${project.version}.nar" tofile="${basedir}/src/test/resources/test-protocol-handler.nar"/> <echo>copy extension</echo> <mkdir dir="${basedir}/src/test/resources/extensions"/> <copy file="${basedir}/../proxy/target/pulsar-kafka-proxy-${project.version}.nar" tofile="${basedir}/src/test/resources/extensions/test-proxy-extension.nar"/> </tasks> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.avro</groupId> <artifactId>avro-maven-plugin</artifactId> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>schema</goal> </goals> <configuration> <testSourceDirectory>${project.basedir}/src/test/avro</testSourceDirectory> <imports> <import>${project.basedir}/src/test/avro/subrecord.avsc</import> </imports> </configuration> </execution> </executions> </plugin> </plugins> </build> <!-- needed for Kafka Avro Serializer --> <repositories> <repository> <id>io-confluent</id> <url>https://packages.confluent.io/maven/</url> </repository> </repositories> </project>