Skip to content

Commit

Permalink
SPARK-2882: Spark build now checks local maven cache for dependencies
Browse files Browse the repository at this point in the history
Fixes [SPARK-2882](https://issues.apache.org/jira/browse/SPARK-2882)

Author: Gregory Owen <[email protected]>

Closes apache#1818 from GregOwen/spark-2882 and squashes the following commits:

294446d [Gregory Owen] SPARK-2882: Spark build now checks local maven cache for dependencies
  • Loading branch information
GregOwen authored and pwendell committed Aug 6, 2014
1 parent c6889d2 commit 4e00833
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4e00833

Please sign in to comment.