diff options
author | Tathagata Das <tathagata.das1565@gmail.com> | 2015-02-24 19:10:37 -0800 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2015-02-24 19:10:37 -0800 |
commit | 922b43b3cc1cca04e0313bf9e31c5f944ac06d1f (patch) | |
tree | 0487d6fdf919db71631ee40470a39007d350001e /external/kafka-assembly | |
parent | fba11c2f55dd81e4f6230e7edca3c7b2e01ccd9d (diff) | |
download | spark-922b43b3cc1cca04e0313bf9e31c5f944ac06d1f.tar.gz spark-922b43b3cc1cca04e0313bf9e31c5f944ac06d1f.tar.bz2 spark-922b43b3cc1cca04e0313bf9e31c5f944ac06d1f.zip |
[SPARK-5993][Streaming][Build] Fix assembly jar location of kafka-assembly
Published Kafka-assembly JAR was empty in 1.3.0-RC1
This is because the maven build generated two Jars-
1. an empty JAR file (since kafka-assembly has no code of its own)
2. a assembly JAR file containing everything in a different location as 1
The maven publishing plugin uploaded 1 and not 2.
Instead if 2 is not configure to generate in a different location, there is only 1 jar containing everything, which gets published.
Author: Tathagata Das <tathagata.das1565@gmail.com>
Closes #4753 from tdas/SPARK-5993 and squashes the following commits:
c390db8 [Tathagata Das] Fix assembly jar location of kafka-assembly
Diffstat (limited to 'external/kafka-assembly')
-rw-r--r-- | external/kafka-assembly/pom.xml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/external/kafka-assembly/pom.xml b/external/kafka-assembly/pom.xml index 503fc129dc..8daa7ed608 100644 --- a/external/kafka-assembly/pom.xml +++ b/external/kafka-assembly/pom.xml @@ -33,9 +33,6 @@ <properties> <sbt.project.name>streaming-kafka-assembly</sbt.project.name> - <spark.jar.dir>scala-${scala.binary.version}</spark.jar.dir> - <spark.jar.basename>spark-streaming-kafka-assembly-${project.version}.jar</spark.jar.basename> - <spark.jar>${project.build.directory}/${spark.jar.dir}/${spark.jar.basename}</spark.jar> </properties> <dependencies> @@ -61,7 +58,6 @@ <artifactId>maven-shade-plugin</artifactId> <configuration> <shadedArtifactAttached>false</shadedArtifactAttached> - <outputFile>${spark.jar}</outputFile> <artifactSet> <includes> <include>*:*</include> |