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 /external/kafka-0-10-sql/pom.xml | |
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 'external/kafka-0-10-sql/pom.xml')
-rw-r--r-- | external/kafka-0-10-sql/pom.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/external/kafka-0-10-sql/pom.xml b/external/kafka-0-10-sql/pom.xml index 29abd88fcf..6cf448e65e 100644 --- a/external/kafka-0-10-sql/pom.xml +++ b/external/kafka-0-10-sql/pom.xml @@ -88,6 +88,18 @@ <groupId>org.apache.spark</groupId> <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> + </dependencies> <build> <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory> |