aboutsummaryrefslogtreecommitdiff
path: root/external/flume-sink/pom.xml
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2014-08-25 13:29:07 -0700
committerTathagata Das <tathagata.das1565@gmail.com>2014-08-25 13:29:07 -0700
commitcd30db566a327ddf63cd242c758e46ce2d9479df (patch)
tree7a5591f4b464b6d2670d5eaf4dbd815c16a01ccd /external/flume-sink/pom.xml
parent220f413686ae922bd11776576bf37610cce92c23 (diff)
downloadspark-cd30db566a327ddf63cd242c758e46ce2d9479df.tar.gz
spark-cd30db566a327ddf63cd242c758e46ce2d9479df.tar.bz2
spark-cd30db566a327ddf63cd242c758e46ce2d9479df.zip
SPARK-2798 [BUILD] Correct several small errors in Flume module pom.xml files
(EDIT) Since the scalatest issue was since resolved, this is now about a few small problems in the Flume Sink `pom.xml` - `scalatest` is not declared as a test-scope dependency - Its Avro version doesn't match the rest of the build - Its Flume version is not synced with the other Flume module - The other Flume module declares its dependency on Flume Sink slightly incorrectly, hard-coding the Scala 2.10 version - It depends on Scala Lang directly, which it shouldn't Author: Sean Owen <sowen@cloudera.com> Closes #1726 from srowen/SPARK-2798 and squashes the following commits: a46e2c6 [Sean Owen] scalatest to test scope, harmonize Avro and Flume versions, remove direct Scala dependency, fix '2.10' in Flume dependency
Diffstat (limited to 'external/flume-sink/pom.xml')
-rw-r--r--external/flume-sink/pom.xml15
1 files changed, 6 insertions, 9 deletions
diff --git a/external/flume-sink/pom.xml b/external/flume-sink/pom.xml
index 19192e40a7..c1e8e65464 100644
--- a/external/flume-sink/pom.xml
+++ b/external/flume-sink/pom.xml
@@ -25,19 +25,20 @@
<relativePath>../../pom.xml</relativePath>
</parent>
+ <groupId>org.apache.spark</groupId>
<artifactId>spark-streaming-flume-sink_2.10</artifactId>
<properties>
<sbt.project.name>streaming-flume-sink</sbt.project.name>
</properties>
-
<packaging>jar</packaging>
<name>Spark Project External Flume Sink</name>
<url>http://spark.apache.org/</url>
+
<dependencies>
<dependency>
<groupId>org.apache.flume</groupId>
<artifactId>flume-ng-sdk</artifactId>
- <version>1.4.0</version>
+ <version>${flume.version}</version>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
@@ -52,7 +53,7 @@
<dependency>
<groupId>org.apache.flume</groupId>
<artifactId>flume-ng-core</artifactId>
- <version>1.4.0</version>
+ <version>${flume.version}</version>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
@@ -62,11 +63,7 @@
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
</exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-library</artifactId>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.scalatest</groupId>
@@ -97,7 +94,7 @@
<plugin>
<groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId>
- <version>1.7.3</version>
+ <version>${avro.version}</version>
<configuration>
<!-- Generate the output in the same directory as the sbt-avro-plugin -->
<outputDirectory>${project.basedir}/target/scala-${scala.binary.version}/src_managed/main/compiled_avro</outputDirectory>