diff options
author | Gregory Owen <greowen@gmail.com> | 2014-08-06 16:52:00 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-08-06 16:52:10 -0700 |
commit | c2ae0b03669c72f5b842dc0cb4ba1f808c9ef702 (patch) | |
tree | 826ed00296cd48156bac3bf4da99ec56c635d406 | |
parent | a314e293f40c05991522d145e7d39b460b47f615 (diff) | |
download | spark-c2ae0b03669c72f5b842dc0cb4ba1f808c9ef702.tar.gz spark-c2ae0b03669c72f5b842dc0cb4ba1f808c9ef702.tar.bz2 spark-c2ae0b03669c72f5b842dc0cb4ba1f808c9ef702.zip |
SPARK-2882: Spark build now checks local maven cache for dependencies
Fixes [SPARK-2882](https://issues.apache.org/jira/browse/SPARK-2882)
Author: Gregory Owen <greowen@gmail.com>
Closes #1818 from GregOwen/spark-2882 and squashes the following commits:
294446d [Gregory Owen] SPARK-2882: Spark build now checks local maven cache for dependencies
(cherry picked from commit 4e008334ee0fb60f9fe8820afa06f7b7f0fa7a6c)
Signed-off-by: Patrick Wendell <pwendell@gmail.com>
-rw-r--r-- | project/SparkBuild.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index 40b588512f..ed587783d5 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -115,7 +115,8 @@ object SparkBuild extends PomBuild { retrieveManaged := true, retrievePattern := "[type]s/[artifact](-[revision])(-[classifier]).[ext]", publishMavenStyle := true, - + + resolvers += Resolver.mavenLocal, otherResolvers <<= SbtPomKeys.mvnLocalRepository(dotM2 => Seq(Resolver.file("dotM2", dotM2))), publishLocalConfiguration in MavenCompile <<= (packagedArtifacts, deliverLocal, ivyLoggingLevel) map { (arts, _, level) => new PublishConfiguration(None, "dotM2", arts, Seq(), level) |