aboutsummaryrefslogtreecommitdiff
path: root/examples/pom.xml
diff options
context:
space:
mode:
authorjerryshao <saisai.shao@intel.com>2013-10-12 15:02:57 +0800
committerjerryshao <saisai.shao@intel.com>2013-10-12 20:00:42 +0800
commitc23cd72b4bbcbf5f615636095c69e9a2e39bfbdd (patch)
tree14a083addc11bef9eeac371c8f383dc0e1c439d5 /examples/pom.xml
parentdca80094d317363e1e0d7e32bc7dfd99faf943cf (diff)
downloadspark-c23cd72b4bbcbf5f615636095c69e9a2e39bfbdd.tar.gz
spark-c23cd72b4bbcbf5f615636095c69e9a2e39bfbdd.tar.bz2
spark-c23cd72b4bbcbf5f615636095c69e9a2e39bfbdd.zip
Upgrade Kafka 0.7.2 to Kafka 0.8.0-beta1 for Spark Streaming
Diffstat (limited to 'examples/pom.xml')
-rw-r--r--examples/pom.xml28
1 files changed, 22 insertions, 6 deletions
diff --git a/examples/pom.xml b/examples/pom.xml
index b8c020a321..b97e6af288 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -32,13 +32,20 @@
<url>http://spark.incubator.apache.org/</url>
<repositories>
- <!-- A repository in the local filesystem for the Kafka JAR, which we modified for Scala 2.9 -->
<repository>
- <id>lib</id>
- <url>file://${project.basedir}/lib</url>
+ <id>apache-repo</id>
+ <name>Apache Repository</name>
+ <url>https://repository.apache.org/content/repositories/releases</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
+
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
@@ -81,9 +88,18 @@
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
- <artifactId>kafka</artifactId>
- <version>0.7.2-spark</version> <!-- Comes from our in-project repository -->
- <scope>provided</scope>
+ <artifactId>kafka_2.9.2</artifactId>
+ <version>0.8.0-beta1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.sun.jmx</groupId>
+ <artifactId>jmxri</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.sun.jdmk</groupId>
+ <artifactId>jmxtools</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>