diff options
author | Dhruve Ashar <dhruveashar@gmail.com> | 2016-06-06 09:42:50 -0700 |
---|---|---|
committer | Marcelo Vanzin <vanzin@cloudera.com> | 2016-06-06 09:42:50 -0700 |
commit | fa4bc8ea8bab1277d1482da370dac79947cac719 (patch) | |
tree | b71ec05ab5c47f58be5e0cc597d91dba31aa56cb /pom.xml | |
parent | 00ad4f054cd044e17d29b7c2c62efd8616462619 (diff) | |
download | spark-fa4bc8ea8bab1277d1482da370dac79947cac719.tar.gz spark-fa4bc8ea8bab1277d1482da370dac79947cac719.tar.bz2 spark-fa4bc8ea8bab1277d1482da370dac79947cac719.zip |
[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 <code>spark-submit --version </code>
![image](https://cloud.githubusercontent.com/assets/7732317/15197251/f7c673a2-1795-11e6-8b2f-88f2a70cf1c1.png)
Author: Dhruve Ashar <dhruveashar@gmail.com>
Closes #13061 from dhruve/impr/SPARK-14279.
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -180,6 +180,8 @@ <antlr4.version>4.5.3</antlr4.version> <jpam.version>1.1</jpam.version> <selenium.version>2.52.0</selenium.version> + <paranamer.version>2.8</paranamer.version> + <maven-antrun.version>1.8</maven-antrun.version> <test.java.home>${java.home}</test.java.home> <test.exclude.tags></test.exclude.tags> @@ -2061,7 +2063,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> - <version>1.8</version> + <version>${maven-antrun.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -2184,7 +2186,7 @@ <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> - <versionRange>[1.8,)</versionRange> + <versionRange>[${maven-antrun.version},)</versionRange> <goals> <goal>run</goal> </goals> |