Back to home page

OSCL-LXR

 
 

    


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   <groupId>org.apache.spark</groupId>
0029   <artifactId>spark-sql-kafka-0-10_2.12</artifactId>
0030   <properties>
0031     <sbt.project.name>sql-kafka-0-10</sbt.project.name>
0032   </properties>
0033   <packaging>jar</packaging>
0034   <name>Kafka 0.10+ Source for Structured Streaming</name>
0035   <url>http://spark.apache.org/</url>
0036 
0037   <dependencies>
0038     <dependency>
0039       <groupId>org.apache.spark</groupId>
0040       <artifactId>spark-token-provider-kafka-0-10_${scala.binary.version}</artifactId>
0041       <version>${project.version}</version>
0042     </dependency>
0043     <dependency>
0044       <groupId>org.apache.spark</groupId>
0045       <artifactId>spark-sql_${scala.binary.version}</artifactId>
0046       <version>${project.version}</version>
0047       <scope>provided</scope>
0048     </dependency>
0049     <dependency>
0050       <groupId>org.apache.spark</groupId>
0051       <artifactId>spark-token-provider-kafka-0-10_${scala.binary.version}</artifactId>
0052       <version>${project.version}</version>
0053       <type>test-jar</type>
0054       <scope>test</scope>
0055     </dependency>
0056     <dependency>
0057       <groupId>org.apache.spark</groupId>
0058       <artifactId>spark-core_${scala.binary.version}</artifactId>
0059       <version>${project.version}</version>
0060       <type>test-jar</type>
0061       <scope>test</scope>
0062     </dependency>
0063     <dependency>
0064       <groupId>org.apache.spark</groupId>
0065       <artifactId>spark-catalyst_${scala.binary.version}</artifactId>
0066       <version>${project.version}</version>
0067       <type>test-jar</type>
0068       <scope>test</scope>
0069     </dependency>
0070     <dependency>
0071       <groupId>org.apache.spark</groupId>
0072       <artifactId>spark-sql_${scala.binary.version}</artifactId>
0073       <version>${project.version}</version>
0074       <type>test-jar</type>
0075       <scope>test</scope>
0076     </dependency>
0077     <dependency>
0078       <groupId>org.apache.kafka</groupId>
0079       <artifactId>kafka-clients</artifactId>
0080       <version>${kafka.version}</version>
0081     </dependency>
0082     <dependency>
0083       <groupId>org.apache.commons</groupId>
0084       <artifactId>commons-pool2</artifactId>
0085       <version>${commons-pool2.version}</version>
0086     </dependency>
0087     <dependency>
0088       <groupId>org.apache.kafka</groupId>
0089       <artifactId>kafka_${scala.binary.version}</artifactId>
0090       <version>${kafka.version}</version>
0091       <scope>test</scope>
0092       <exclusions>
0093         <exclusion>
0094           <groupId>com.fasterxml.jackson.core</groupId>
0095           <artifactId>jackson-core</artifactId>
0096         </exclusion>
0097         <exclusion>
0098           <groupId>com.fasterxml.jackson.core</groupId>
0099           <artifactId>jackson-databind</artifactId>
0100         </exclusion>
0101         <exclusion>
0102           <groupId>com.fasterxml.jackson.core</groupId>
0103           <artifactId>jackson-annotations</artifactId>
0104         </exclusion>
0105       </exclusions>
0106     </dependency>
0107     <dependency>
0108       <groupId>org.apache.hadoop</groupId>
0109       <artifactId>hadoop-minikdc</artifactId>
0110     </dependency>
0111     <!-- Kafka embedded server uses Zookeeper 3.4.7 API -->
0112     <dependency>
0113       <groupId>org.apache.zookeeper</groupId>
0114       <artifactId>zookeeper</artifactId>
0115       <version>3.4.7</version>
0116       <scope>test</scope>
0117     </dependency>
0118     <dependency>
0119       <groupId>net.sf.jopt-simple</groupId>
0120       <artifactId>jopt-simple</artifactId>
0121       <version>3.2</version>
0122       <scope>test</scope>
0123     </dependency>
0124      <dependency>
0125         <groupId>org.eclipse.jetty</groupId>
0126         <artifactId>jetty-servlet</artifactId>
0127         <version>${jetty.version}</version>
0128         <scope>test</scope>
0129       </dependency>
0130     <dependency>
0131       <groupId>org.mockito</groupId>
0132       <artifactId>mockito-core</artifactId>
0133       <scope>test</scope>
0134     </dependency>
0135     <dependency>
0136       <groupId>org.scalacheck</groupId>
0137       <artifactId>scalacheck_${scala.binary.version}</artifactId>
0138       <scope>test</scope>
0139     </dependency>
0140     <dependency>
0141       <groupId>org.apache.spark</groupId>
0142       <artifactId>spark-tags_${scala.binary.version}</artifactId>
0143     </dependency>
0144     <dependency>
0145       <groupId>org.jmock</groupId>
0146       <artifactId>jmock-junit4</artifactId>
0147       <scope>test</scope>
0148     </dependency>
0149 
0150     <!--
0151       This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
0152       them will yield errors.
0153     -->
0154     <dependency>
0155       <groupId>org.apache.spark</groupId>
0156       <artifactId>spark-tags_${scala.binary.version}</artifactId>
0157       <type>test-jar</type>
0158       <scope>test</scope>
0159     </dependency>
0160 
0161   </dependencies>
0162 
0163   <build>
0164     <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
0165     <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
0166   </build>
0167 
0168 </project>