aboutsummaryrefslogtreecommitdiff
path: root/tools/pom.xml
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2015-01-06 12:02:08 -0800
committerJosh Rosen <joshrosen@databricks.com>2015-01-06 12:02:08 -0800
commit4cba6eb42031b1a4cc3308833116ca5d9ccb1a89 (patch)
tree0d0a6e192ce742543f6c1ef05c61360930653a01 /tools/pom.xml
parent5e3ec1110495899a298313c4aa9c6c151c1f54da (diff)
downloadspark-4cba6eb42031b1a4cc3308833116ca5d9ccb1a89.tar.gz
spark-4cba6eb42031b1a4cc3308833116ca5d9ccb1a89.tar.bz2
spark-4cba6eb42031b1a4cc3308833116ca5d9ccb1a89.zip
SPARK-4159 [CORE] Maven build doesn't run JUnit test suites
This PR: - Reenables `surefire`, and copies config from `scalatest` (which is itself an old fork of `surefire`, so similar) - Tells `surefire` to test only Java tests - Enables `surefire` and `scalatest` for all children, and in turn eliminates some duplication. For me this causes the Scala and Java tests to be run once each, it seems, as desired. It doesn't affect the SBT build but works for Maven. I still need to verify that all of the Scala tests and Java tests are being run. Author: Sean Owen <sowen@cloudera.com> Closes #3651 from srowen/SPARK-4159 and squashes the following commits: 2e8a0af [Sean Owen] Remove specialized SPARK_HOME setting for REPL, YARN tests as it appears to be obsolete 12e4558 [Sean Owen] Append to unit-test.log instead of overwriting, so that both surefire and scalatest output is preserved. Also standardize/correct comments a bit. e6f8601 [Sean Owen] Reenable Java tests by reenabling surefire with config cloned from scalatest; centralize test config in the parent
Diffstat (limited to 'tools/pom.xml')
-rw-r--r--tools/pom.xml9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/pom.xml b/tools/pom.xml
index c0bc6e2a2a..e7419ed2c6 100644
--- a/tools/pom.xml
+++ b/tools/pom.xml
@@ -52,11 +52,6 @@
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
</dependency>
- <dependency>
- <groupId>org.scalatest</groupId>
- <artifactId>scalatest_${scala.binary.version}</artifactId>
- <scope>test</scope>
- </dependency>
</dependencies>
<build>
@@ -85,10 +80,6 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
- <plugin>
- <groupId>org.scalatest</groupId>
- <artifactId>scalatest-maven-plugin</artifactId>
- </plugin>
</plugins>
</build>
</project>