diff --git a/core/pom.xml b/core/pom.xml
index bab50f5ce288..0777c5b1f03d 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -258,35 +258,6 @@
target/scala-${scala.binary.version}/classes
target/scala-${scala.binary.version}/test-classes
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
- test
-
- run
-
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
org.scalatest
scalatest-maven-plugin
diff --git a/pom.xml b/pom.xml
index 86264d1132ec..d097d91bd450 100644
--- a/pom.xml
+++ b/pom.xml
@@ -809,6 +809,10 @@
${project.build.directory}/SparkTestSuite.txt
-Xmx3g -XX:MaxPermSize=${MaxPermGen} -XX:ReservedCodeCacheSize=512m
+
+ ${session.executionRootDirectory}
+ 1
+
diff --git a/repl/pom.xml b/repl/pom.xml
index b761a176ce25..bcdb24b040cc 100644
--- a/repl/pom.xml
+++ b/repl/pom.xml
@@ -92,42 +92,12 @@
target/scala-${scala.binary.version}/classes
target/scala-${scala.binary.version}/test-classes
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
- test
-
- run
-
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
org.scalatest
scalatest-maven-plugin
${basedir}/..
- 1
diff --git a/yarn/pom.xml b/yarn/pom.xml
index 6993c89525d8..2811ffffbdfa 100644
--- a/yarn/pom.xml
+++ b/yarn/pom.xml
@@ -117,42 +117,12 @@
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
- test
-
- run
-
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
org.scalatest
scalatest-maven-plugin
${basedir}/../..
- 1
${spark.classpath}