diff options
author | Josh Rosen <joshrosen@databricks.com> | 2016-04-26 15:14:17 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2016-04-26 15:14:17 -0700 |
commit | 75879ac3c07f3b1a708f4392429335feb06f271b (patch) | |
tree | ecdd4a615eb609e8b5be68706a678d75b13589bc /examples | |
parent | 9797cc20c0b8fb34659df11af8eccb9ed293c52c (diff) | |
download | spark-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 'examples')
-rw-r--r-- | examples/pom.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/pom.xml b/examples/pom.xml index 43f3d2e4de..4423d0fbe1 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -42,6 +42,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> |