aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorRyan Williams <ryan.blake.williams@gmail.com>2016-12-21 16:37:20 -0800
committerMarcelo Vanzin <vanzin@cloudera.com>2016-12-21 16:37:20 -0800
commitafd9bc1d8a85adf88c412d8bc75e46e7ecb4bcdd (patch)
treee7d9c3e6b0a055c692de05c75f7532cdeca4269b /launcher
parent95efc895e929701a605313b87ad0cd91edee2f81 (diff)
downloadspark-afd9bc1d8a85adf88c412d8bc75e46e7ecb4bcdd.tar.gz
spark-afd9bc1d8a85adf88c412d8bc75e46e7ecb4bcdd.tar.bz2
spark-afd9bc1d8a85adf88c412d8bc75e46e7ecb4bcdd.zip
[SPARK-17807][CORE] split test-tags into test-JAR
Remove spark-tag's compile-scope dependency (and, indirectly, spark-core's compile-scope transitive-dependency) on scalatest by splitting test-oriented tags into spark-tags' test JAR. Alternative to #16303. Author: Ryan Williams <ryan.blake.williams@gmail.com> Closes #16311 from ryan-williams/tt.
Diffstat (limited to 'launcher')
-rw-r--r--launcher/pom.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/launcher/pom.xml b/launcher/pom.xml
index 899957f627..025cd84f20 100644
--- a/launcher/pom.xml
+++ b/launcher/pom.xml
@@ -67,6 +67,17 @@
<artifactId>spark-tags_${scala.binary.version}</artifactId>
</dependency>
+ <!--
+ This spark-tags test-dep is needed even though it isn't used in this module, otherwise testing-cmds that exclude
+ them will yield errors.
+ -->
+ <dependency>
+ <groupId>org.apache.spark</groupId>
+ <artifactId>spark-tags_${scala.binary.version}</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+
<!-- Not needed by the test code, but referenced by SparkSubmit which is used by the tests. -->
<dependency>
<groupId>org.apache.hadoop</groupId>