| <?xml version="1.0"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you 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> |
| <artifactId>drill-contrib-parent</artifactId> |
| <groupId>org.apache.drill.contrib</groupId> |
| <version>2.0.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>drill-storage-kafka</artifactId> |
| <name>Drill : Contrib : Storage : Kafka</name> |
| |
| <properties> |
| <kafka.version>2.8.0</kafka.version> |
| <kafka.TestSuite>**/TestKafkaSuit.class</kafka.TestSuite> |
| </properties> |
| |
| <repositories> |
| <repository> |
| <id>confluent</id> |
| <name>Confluent</name> |
| <url>https://packages.confluent.io/maven/</url> |
| <releases> |
| <enabled>true</enabled> |
| <checksumPolicy>fail</checksumPolicy> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.drill.exec</groupId> |
| <artifactId>drill-java-exec</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>kafka-clients</artifactId> |
| <version>${kafka.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>kafka_2.13</artifactId> |
| <version>${kafka.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.confluent</groupId> |
| <artifactId>kafka-avro-serializer</artifactId> |
| <version>6.1.1</version> |
| </dependency> |
| |
| <!-- Test dependencies --> |
| <dependency> |
| <groupId>org.apache.drill.exec</groupId> |
| <artifactId>drill-java-exec</artifactId> |
| <classifier>tests</classifier> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-test</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.drill</groupId> |
| <artifactId>drill-common</artifactId> |
| <classifier>tests</classifier> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <includes> |
| <include>${kafka.TestSuite}</include> |
| </includes> |
| <excludes> |
| <exclude>**/KafkaFilterPushdownTest.java</exclude> |
| <exclude>**/KafkaQueriesTest.java</exclude> |
| <exclude>**/MessageIteratorTest.java</exclude> |
| </excludes> |
| <systemProperties> |
| <property> |
| <name>logback.log.dir</name> |
| <value>${project.build.directory}/surefire-reports</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |