0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!--
0003 ~ Licensed to the Apache Software Foundation (ASF) under one or more
0004 ~ contributor license agreements. See the NOTICE file distributed with
0005 ~ this work for additional information regarding copyright ownership.
0006 ~ The ASF licenses this file to You under the Apache License, Version 2.0
0007 ~ (the "License"); you may not use this file except in compliance with
0008 ~ the License. You may obtain a copy of the License at
0009 ~
0010 ~ http://www.apache.org/licenses/LICENSE-2.0
0011 ~
0012 ~ Unless required by applicable law or agreed to in writing, software
0013 ~ distributed under the License is distributed on an "AS IS" BASIS,
0014 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0015 ~ See the License for the specific language governing permissions and
0016 ~ limitations under the License.
0017 -->
0018
0019 <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">
0020 <modelVersion>4.0.0</modelVersion>
0021 <parent>
0022 <groupId>org.apache.spark</groupId>
0023 <artifactId>spark-parent_2.12</artifactId>
0024 <version>3.0.0</version>
0025 <relativePath>../../pom.xml</relativePath>
0026 </parent>
0027
0028 <artifactId>spark-streaming-kafka-0-10_2.12</artifactId>
0029 <properties>
0030 <sbt.project.name>streaming-kafka-0-10</sbt.project.name>
0031 </properties>
0032 <packaging>jar</packaging>
0033 <name>Spark Integration for Kafka 0.10</name>
0034 <url>http://spark.apache.org/</url>
0035
0036 <dependencies>
0037 <dependency>
0038 <groupId>org.apache.spark</groupId>
0039 <artifactId>spark-token-provider-kafka-0-10_${scala.binary.version}</artifactId>
0040 <version>${project.version}</version>
0041 </dependency>
0042 <dependency>
0043 <groupId>org.apache.spark</groupId>
0044 <artifactId>spark-streaming_${scala.binary.version}</artifactId>
0045 <version>${project.version}</version>
0046 <scope>provided</scope>
0047 </dependency>
0048 <dependency>
0049 <groupId>org.apache.spark</groupId>
0050 <artifactId>spark-streaming_${scala.binary.version}</artifactId>
0051 <version>${project.version}</version>
0052 <type>test-jar</type>
0053 <scope>test</scope>
0054 </dependency>
0055 <dependency>
0056 <groupId>org.apache.spark</groupId>
0057 <artifactId>spark-core_${scala.binary.version}</artifactId>
0058 <version>${project.version}</version>
0059 <type>test-jar</type>
0060 <scope>test</scope>
0061 </dependency>
0062 <dependency>
0063 <groupId>org.apache.kafka</groupId>
0064 <artifactId>kafka-clients</artifactId>
0065 <version>${kafka.version}</version>
0066 </dependency>
0067 <dependency>
0068 <groupId>org.apache.kafka</groupId>
0069 <artifactId>kafka_${scala.binary.version}</artifactId>
0070 <version>${kafka.version}</version>
0071 <scope>test</scope>
0072 <exclusions>
0073 <exclusion>
0074 <groupId>com.fasterxml.jackson.core</groupId>
0075 <artifactId>jackson-core</artifactId>
0076 </exclusion>
0077 <exclusion>
0078 <groupId>com.fasterxml.jackson.core</groupId>
0079 <artifactId>jackson-databind</artifactId>
0080 </exclusion>
0081 <exclusion>
0082 <groupId>com.fasterxml.jackson.core</groupId>
0083 <artifactId>jackson-annotations</artifactId>
0084 </exclusion>
0085 </exclusions>
0086 </dependency>
0087 <!-- Kafka embedded server uses Zookeeper 3.4.7 API -->
0088 <dependency>
0089 <groupId>org.apache.zookeeper</groupId>
0090 <artifactId>zookeeper</artifactId>
0091 <version>3.4.7</version>
0092 <scope>test</scope>
0093 </dependency>
0094 <dependency>
0095 <groupId>net.sf.jopt-simple</groupId>
0096 <artifactId>jopt-simple</artifactId>
0097 <version>3.2</version>
0098 <scope>test</scope>
0099 </dependency>
0100 <dependency>
0101 <groupId>org.scalacheck</groupId>
0102 <artifactId>scalacheck_${scala.binary.version}</artifactId>
0103 <scope>test</scope>
0104 </dependency>
0105 <dependency>
0106 <groupId>org.mockito</groupId>
0107 <artifactId>mockito-core</artifactId>
0108 <scope>test</scope>
0109 </dependency>
0110 <dependency>
0111 <groupId>org.apache.spark</groupId>
0112 <artifactId>spark-tags_${scala.binary.version}</artifactId>
0113 </dependency>
0114 <dependency>
0115 <groupId>org.jmock</groupId>
0116 <artifactId>jmock-junit4</artifactId>
0117 <scope>test</scope>
0118 </dependency>
0119
0120 <!--
0121 This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
0122 them will yield errors.
0123 -->
0124 <dependency>
0125 <groupId>org.apache.spark</groupId>
0126 <artifactId>spark-tags_${scala.binary.version}</artifactId>
0127 <type>test-jar</type>
0128 <scope>test</scope>
0129 </dependency>
0130
0131 </dependencies>
0132
0133 <build>
0134 <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
0135 <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
0136 </build>
0137
0138 </project>