diff options
author | Sean Owen <sowen@cloudera.com> | 2014-08-25 13:29:07 -0700 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2014-08-25 13:29:25 -0700 |
commit | ff616fd7b4b56c34bd473f85fab3524b842da404 (patch) | |
tree | 24c9128171d8ceabf12d53edbf5edb4a3a7a768d /external/flume/pom.xml | |
parent | 69a17f119758e786ef080cfbf52d484334c8d9d9 (diff) | |
download | spark-ff616fd7b4b56c34bd473f85fab3524b842da404.tar.gz spark-ff616fd7b4b56c34bd473f85fab3524b842da404.tar.bz2 spark-ff616fd7b4b56c34bd473f85fab3524b842da404.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
(cherry picked from commit cd30db566a327ddf63cd242c758e46ce2d9479df)
Signed-off-by: Tathagata Das <tathagata.das1565@gmail.com>
Diffstat (limited to 'external/flume/pom.xml')
-rw-r--r-- | external/flume/pom.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/external/flume/pom.xml b/external/flume/pom.xml index b127136e3f..402af35315 100644 --- a/external/flume/pom.xml +++ b/external/flume/pom.xml @@ -42,6 +42,11 @@ </dependency> <dependency> <groupId>org.apache.spark</groupId> + <artifactId>spark-streaming-flume-sink_${scala.binary.version}</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.spark</groupId> <artifactId>spark-streaming_${scala.binary.version}</artifactId> <version>${project.version}</version> <type>test-jar</type> @@ -50,7 +55,7 @@ <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> @@ -82,11 +87,6 @@ <artifactId>junit-interface</artifactId> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.spark</groupId> - <artifactId>spark-streaming-flume-sink_2.10</artifactId> - <version>${project.version}</version> - </dependency> </dependencies> <build> <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory> |