diff options
author | Thomas Dudziak <tomdzk@gmail.com> | 2012-11-28 19:46:06 -0800 |
---|---|---|
committer | Thomas Dudziak <tomdzk@gmail.com> | 2012-11-28 19:46:06 -0800 |
commit | 84e584fa8c931e436f55a69d70d18c3a129d0c6a (patch) | |
tree | 0614ab4d696ce4733ba139ead1dab8f88e7dd1e9 | |
parent | 3b643e86bc204ae1873683c1d24de21864fda653 (diff) | |
download | spark-84e584fa8c931e436f55a69d70d18c3a129d0c6a.tar.gz spark-84e584fa8c931e436f55a69d70d18c3a129d0c6a.tar.bz2 spark-84e584fa8c931e436f55a69d70d18c3a129d0c6a.zip |
Code review feedback fix
-rw-r--r-- | core/pom.xml | 13 |
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> |