aboutsummaryrefslogtreecommitdiff
path: root/yarn/pom.xml
diff options
context:
space:
mode:
authorwitgo <witgo@qq.com>2014-05-31 14:36:27 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-05-31 14:36:27 -0700
commitd8c005d5371f81a2a06c5d27c7021e1ae43d7193 (patch)
tree097da27f8e5a1157c2079119d22062bb3637bd74 /yarn/pom.xml
parent9909efc10aaa62c47fd7c4c9da73ac8c56a454d5 (diff)
downloadspark-d8c005d5371f81a2a06c5d27c7021e1ae43d7193.tar.gz
spark-d8c005d5371f81a2a06c5d27c7021e1ae43d7193.tar.bz2
spark-d8c005d5371f81a2a06c5d27c7021e1ae43d7193.zip
Improve maven plugin configuration
Author: witgo <witgo@qq.com> Closes #786 from witgo/maven_plugin and squashes the following commits: 5de86a2 [witgo] Merge branch 'master' of https://github.com/apache/spark into maven_plugin c35ef73 [witgo] Improve maven plugin configuration
Diffstat (limited to 'yarn/pom.xml')
-rw-r--r--yarn/pom.xml30
1 files changed, 0 insertions, 30 deletions
diff --git a/yarn/pom.xml b/yarn/pom.xml
index 6993c89525..2811ffffbd 100644
--- a/yarn/pom.xml
+++ b/yarn/pom.xml
@@ -118,41 +118,11 @@
</executions>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>test</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <exportAntProperties>true</exportAntProperties>
- <target>
- <property name="spark.classpath" refid="maven.test.classpath" />
- <property environment="env" />
- <fail message="Please set the SCALA_HOME (or SCALA_LIBRARY_PATH if scala is on the path) environment variables and retry.">
- <condition>
- <not>
- <or>
- <isset property="env.SCALA_HOME" />
- <isset property="env.SCALA_LIBRARY_PATH" />
- </or>
- </not>
- </condition>
- </fail>
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
<configuration>
<environmentVariables>
<SPARK_HOME>${basedir}/../..</SPARK_HOME>
- <SPARK_TESTING>1</SPARK_TESTING>
<SPARK_CLASSPATH>${spark.classpath}</SPARK_CLASSPATH>
</environmentVariables>
</configuration>