From fa4bc8ea8bab1277d1482da370dac79947cac719 Mon Sep 17 00:00:00 2001 From: Dhruve Ashar Date: Mon, 6 Jun 2016 09:42:50 -0700 Subject: [SPARK-14279][BUILD] Pick the spark version from pom ## What changes were proposed in this pull request? Change the way spark picks up version information. Also embed the build information to better identify the spark version running. More context can be found here : https://github.com/apache/spark/pull/12152 ## How was this patch tested? Ran the mvn and sbt builds to verify the version information was being displayed correctly on executing spark-submit --version ![image](https://cloud.githubusercontent.com/assets/7732317/15197251/f7c673a2-1795-11e6-8b2f-88f2a70cf1c1.png) Author: Dhruve Ashar Closes #13061 from dhruve/impr/SPARK-14279. --- pom.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 60c8c8dc7a..6c67452adf 100644 --- a/pom.xml +++ b/pom.xml @@ -180,6 +180,8 @@ 4.5.3 1.1 2.52.0 + 2.8 + 1.8 ${java.home} @@ -2061,7 +2063,7 @@ org.apache.maven.plugins maven-antrun-plugin - 1.8 + ${maven-antrun.version} org.apache.maven.plugins @@ -2184,7 +2186,7 @@ org.apache.maven.plugins maven-antrun-plugin - [1.8,) + [${maven-antrun.version},) run -- cgit v1.2.3