Skip to content

Commit 294446d

Browse files
committed
SPARK-2882: Spark build now checks local maven cache for dependencies
1 parent e537b33 commit 294446d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

project/SparkBuild.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ object SparkBuild extends PomBuild {
115115
retrieveManaged := true,
116116
retrievePattern := "[type]s/[artifact](-[revision])(-[classifier]).[ext]",
117117
publishMavenStyle := true,
118-
118+
119+
resolvers += Resolver.mavenLocal,
119120
otherResolvers <<= SbtPomKeys.mvnLocalRepository(dotM2 => Seq(Resolver.file("dotM2", dotM2))),
120121
publishLocalConfiguration in MavenCompile <<= (packagedArtifacts, deliverLocal, ivyLoggingLevel) map {
121122
(arts, _, level) => new PublishConfiguration(None, "dotM2", arts, Seq(), level)

0 commit comments

Comments
 (0)