Preparing Spark release v2.2.1-rc1
[spark.git] / external / kafka-0-10-assembly / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ~ Licensed to the Apache Software Foundation (ASF) under one or more
4 ~ contributor license agreements. See the NOTICE file distributed with
5 ~ this work for additional information regarding copyright ownership.
6 ~ The ASF licenses this file to You under the Apache License, Version 2.0
7 ~ (the "License"); you may not use this file except in compliance with
8 ~ the License. You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License.
17 -->
18
19 <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">
20 <modelVersion>4.0.0</modelVersion>
21 <parent>
22 <groupId>org.apache.spark</groupId>
23 <artifactId>spark-parent_2.11</artifactId>
24 <version>2.2.1</version>
25 <relativePath>../../pom.xml</relativePath>
26 </parent>
27
28 <artifactId>spark-streaming-kafka-0-10-assembly_2.11</artifactId>
29 <packaging>jar</packaging>
30 <name>Spark Integration for Kafka 0.10 Assembly</name>
31 <url>http://spark.apache.org/</url>
32
33 <properties>
34 <sbt.project.name>streaming-kafka-0-10-assembly</sbt.project.name>
35 </properties>
36
37 <dependencies>
38 <dependency>
39 <groupId>org.apache.spark</groupId>
40 <artifactId>spark-streaming-kafka-0-10_${scala.binary.version}</artifactId>
41 <version>${project.version}</version>
42 </dependency>
43 <dependency>
44 <groupId>org.apache.spark</groupId>
45 <artifactId>spark-streaming_${scala.binary.version}</artifactId>
46 <version>${project.version}</version>
47 <scope>provided</scope>
48 </dependency>
49 <!--
50 Demote already included in the Spark assembly.
51 -->
52 <dependency>
53 <groupId>commons-codec</groupId>
54 <artifactId>commons-codec</artifactId>
55 <scope>provided</scope>
56 </dependency>
57 <dependency>
58 <groupId>commons-lang</groupId>
59 <artifactId>commons-lang</artifactId>
60 <scope>provided</scope>
61 </dependency>
62 <dependency>
63 <groupId>com.google.protobuf</groupId>
64 <artifactId>protobuf-java</artifactId>
65 <scope>provided</scope>
66 </dependency>
67 <dependency>
68 <groupId>net.jpountz.lz4</groupId>
69 <artifactId>lz4</artifactId>
70 <scope>provided</scope>
71 </dependency>
72 <dependency>
73 <groupId>org.apache.hadoop</groupId>
74 <artifactId>hadoop-client</artifactId>
75 <scope>provided</scope>
76 </dependency>
77 <dependency>
78 <groupId>org.apache.avro</groupId>
79 <artifactId>avro-mapred</artifactId>
80 <classifier>${avro.mapred.classifier}</classifier>
81 <scope>provided</scope>
82 </dependency>
83 <dependency>
84 <groupId>org.apache.curator</groupId>
85 <artifactId>curator-recipes</artifactId>
86 <scope>provided</scope>
87 </dependency>
88 <dependency>
89 <groupId>org.apache.zookeeper</groupId>
90 <artifactId>zookeeper</artifactId>
91 <scope>provided</scope>
92 </dependency>
93 <dependency>
94 <groupId>log4j</groupId>
95 <artifactId>log4j</artifactId>
96 <scope>provided</scope>
97 </dependency>
98 <dependency>
99 <groupId>net.java.dev.jets3t</groupId>
100 <artifactId>jets3t</artifactId>
101 <scope>provided</scope>
102 </dependency>
103 <dependency>
104 <groupId>org.scala-lang</groupId>
105 <artifactId>scala-library</artifactId>
106 <scope>provided</scope>
107 </dependency>
108 <dependency>
109 <groupId>org.slf4j</groupId>
110 <artifactId>slf4j-api</artifactId>
111 <scope>provided</scope>
112 </dependency>
113 <dependency>
114 <groupId>org.slf4j</groupId>
115 <artifactId>slf4j-log4j12</artifactId>
116 <scope>provided</scope>
117 </dependency>
118 <dependency>
119 <groupId>org.xerial.snappy</groupId>
120 <artifactId>snappy-java</artifactId>
121 <scope>provided</scope>
122 </dependency>
123 </dependencies>
124
125 <build>
126 <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
127 <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
128 <plugins>
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-shade-plugin</artifactId>
132 <configuration>
133 <shadedArtifactAttached>false</shadedArtifactAttached>
134 <artifactSet>
135 <includes>
136 <include>*:*</include>
137 </includes>
138 </artifactSet>
139 <filters>
140 <filter>
141 <artifact>*:*</artifact>
142 <excludes>
143 <exclude>META-INF/*.SF</exclude>
144 <exclude>META-INF/*.DSA</exclude>
145 <exclude>META-INF/*.RSA</exclude>
146 </excludes>
147 </filter>
148 </filters>
149 </configuration>
150 <executions>
151 <execution>
152 <phase>package</phase>
153 <goals>
154 <goal>shade</goal>
155 </goals>
156 <configuration>
157 <transformers>
158 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
159 <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
160 <resource>reference.conf</resource>
161 </transformer>
162 <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
163 <resource>log4j.properties</resource>
164 </transformer>
165 <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/>
166 <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/>
167 </transformers>
168 </configuration>
169 </execution>
170 </executions>
171 </plugin>
172 </plugins>
173 </build>
174 </project>
175