diff options
author | Patrick Wendell <pwendell@gmail.com> | 2014-04-23 10:19:32 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-04-23 10:19:32 -0700 |
commit | cd4ed293262e2349794c13467d1737974385c019 (patch) | |
tree | c6cc98ccfaab8c59a41dd4771e97e9f872ec1727 /project | |
parent | 39f85e0322cfecefbc30e7d5a30356cfab1e9640 (diff) | |
download | spark-cd4ed293262e2349794c13467d1737974385c019.tar.gz spark-cd4ed293262e2349794c13467d1737974385c019.tar.bz2 spark-cd4ed293262e2349794c13467d1737974385c019.zip |
SPARK-1119 and other build improvements
1. Makes assembly and examples jar naming consistent in maven/sbt.
2. Updates make-distribution.sh to use Maven and fixes some bugs.
3. Updates the create-release script to call make-distribution script.
Author: Patrick Wendell <pwendell@gmail.com>
Closes #502 from pwendell/make-distribution and squashes the following commits:
1a97f0d [Patrick Wendell] SPARK-1119 and other build improvements
Diffstat (limited to 'project')
-rw-r--r-- | project/SparkBuild.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index 852358501a..b8af2bbd2e 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -411,7 +411,9 @@ object SparkBuild extends Build { ) def examplesSettings = sharedSettings ++ Seq( - name := "spark-examples", + name := "spark-examples", + jarName in assembly <<= version map { + v => "spark-examples-" + v + "-hadoop" + hadoopVersion + ".jar" }, libraryDependencies ++= Seq( "com.twitter" %% "algebird-core" % "0.1.11", "org.apache.hbase" % "hbase" % HBASE_VERSION excludeAll(excludeNetty, excludeAsm, excludeOldAsm, excludeCommonsLogging), |