Merge pull request #155 from easel/maven-local

Add support for maven file: repositories
This commit is contained in:
Alexandre Archambault 2016-02-22 20:19:30 +01:00
commit 58b2752c6c
1 changed files with 1 additions and 1 deletions

View File

@ -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 {