From 915903faf5cb64dbe3252148b4b8858de0f63081 Mon Sep 17 00:00:00 2001 From: Erik LaBianca Date: Mon, 22 Feb 2016 11:47:18 -0500 Subject: [PATCH] Add support for maven file: repositories --- plugin/src/main/scala-2.10/coursier/FromSbt.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/scala-2.10/coursier/FromSbt.scala b/plugin/src/main/scala-2.10/coursier/FromSbt.scala index 76c51f4cc..a7740b1e4 100644 --- a/plugin/src/main/scala-2.10/coursier/FromSbt.scala +++ b/plugin/src/main/scala-2.10/coursier/FromSbt.scala @@ -105,7 +105,7 @@ object FromSbt { def repository(resolver: Resolver, ivyProperties: Map[String, String]): Option[Repository] = resolver match { case sbt.MavenRepository(_, root) => - if (root.startsWith("http://") || root.startsWith("https://")) { + if (root.startsWith("http://") || root.startsWith("https://") || root.startsWith("file:/")) { val root0 = if (root.endsWith("/")) root else root + "/" Some(MavenRepository(root0, sbtAttrStub = true)) } else {