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 /mllib/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 'mllib/pom.xml')
-rw-r--r-- | mllib/pom.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mllib/pom.xml b/mllib/pom.xml index aad6974277..82f840b0fc 100644 --- a/mllib/pom.xml +++ b/mllib/pom.xml @@ -113,6 +113,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> <profiles> <profile> |