diff options
author | Ryan Williams <ryan.blake.williams@gmail.com> | 2016-12-21 16:37:20 -0800 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2016-12-21 16:37:20 -0800 |
commit | afd9bc1d8a85adf88c412d8bc75e46e7ecb4bcdd (patch) | |
tree | e7d9c3e6b0a055c692de05c75f7532cdeca4269b /common/network-yarn | |
parent | 95efc895e929701a605313b87ad0cd91edee2f81 (diff) | |
download | spark-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 'common/network-yarn')
-rw-r--r-- | common/network-yarn/pom.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/common/network-yarn/pom.xml b/common/network-yarn/pom.xml index 9fcd636c88..5e5a80bd44 100644 --- a/common/network-yarn/pom.xml +++ b/common/network-yarn/pom.xml @@ -50,6 +50,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> + <!-- Provided dependencies --> <dependency> <groupId>org.apache.hadoop</groupId> |