aboutsummaryrefslogtreecommitdiff
path: root/assembly
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2016-04-26 15:14:17 -0700
committerJosh Rosen <joshrosen@databricks.com>2016-04-26 15:14:17 -0700
commit75879ac3c07f3b1a708f4392429335feb06f271b (patch)
treeecdd4a615eb609e8b5be68706a678d75b13589bc /assembly
parent9797cc20c0b8fb34659df11af8eccb9ed293c52c (diff)
downloadspark-75879ac3c07f3b1a708f4392429335feb06f271b.tar.gz
spark-75879ac3c07f3b1a708f4392429335feb06f271b.tar.bz2
spark-75879ac3c07f3b1a708f4392429335feb06f271b.zip
[SPARK-14925][BUILD] Re-introduce 'unused' dependency so that published POMs are flattened
Spark's published POMs are supposed to be flattened and not contain variable substitution (see SPARK-3812), but the dummy dependency that was required for this was accidentally removed. We should re-introduce this dependency in order to fix an issue where the un-flattened POMs cause the wrong dependencies to be included in Scala 2.10 published POMs. Author: Josh Rosen <joshrosen@databricks.com> Closes #12706 from JoshRosen/SPARK-14925-published-poms-should-be-flattened.
Diffstat (limited to 'assembly')
-rw-r--r--assembly/pom.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/assembly/pom.xml b/assembly/pom.xml
index 22cbac06ca..75ac9262cb 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -38,6 +38,13 @@
</properties>
<dependencies>
+ <!-- Prevent our dummy JAR from being included in Spark distributions or uploaded to YARN -->
+ <dependency>
+ <groupId>org.spark-project.spark</groupId>
+ <artifactId>unused</artifactId>
+ <version>1.0.0</version>
+ <scope>provided</scope>
+ </dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_${scala.binary.version}</artifactId>