aboutsummaryrefslogtreecommitdiff
path: root/core/pom.xml
diff options
context:
space:
mode:
authorThomas Dudziak <tomdzk@gmail.com>2012-11-28 19:46:06 -0800
committerThomas Dudziak <tomdzk@gmail.com>2012-11-28 19:46:06 -0800
commit84e584fa8c931e436f55a69d70d18c3a129d0c6a (patch)
tree0614ab4d696ce4733ba139ead1dab8f88e7dd1e9 /core/pom.xml
parent3b643e86bc204ae1873683c1d24de21864fda653 (diff)
downloadspark-84e584fa8c931e436f55a69d70d18c3a129d0c6a.tar.gz
spark-84e584fa8c931e436f55a69d70d18c3a129d0c6a.tar.bz2
spark-84e584fa8c931e436f55a69d70d18c3a129d0c6a.zip
Code review feedback fix
Diffstat (limited to 'core/pom.xml')
-rw-r--r--core/pom.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/core/pom.xml b/core/pom.xml
index fd2f5fed4b..ae52c20657 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -114,7 +114,7 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
- <phase>compile</phase>
+ <phase>test</phase>
<goals>
<goal>run</goal>
</goals>
@@ -122,6 +122,17 @@
<exportAntProperties>true</exportAntProperties>
<tasks>
<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>
</tasks>
</configuration>
</execution>