From 6a4c46114e80b97bb105b8595caa733c7c163a06 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Tue, 6 Sep 2011 15:51:32 -0700 Subject: [PATCH] Don't publish to the Maven repository from SBT. We need SBT to publish to the local Ivy repository, so that we can reference snapshots from other SBT projects. Pulling a snapshot from the local Maven repository just doesn't seem to work with SBT+Ivy. --- build.sbt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/build.sbt b/build.sbt index ebaa46e..53c6aec 100644 --- a/build.sbt +++ b/build.sbt @@ -25,10 +25,3 @@ unmanagedResourceDirectories in Compile <+= baseDirectory / "src/main/java" // work around SBT bug unmanagedResources in Compile ~= (_.filterNot(_.isDirectory)) - -// this hackery causes publish-local to install to ~/.m2/repository instead of ~/.ivy -otherResolvers := Seq(Resolver.file("dotM2", file(Path.userHome + "/.m2/repository"))) - -publishLocalConfiguration <<= (packagedArtifacts, deliverLocal, ivyLoggingLevel) map { - (arts, _, level) => new PublishConfiguration(None, "dotM2", arts, level) -}