Check snapshot versioning metadata for snapshot dependencies only

This commit is contained in:
Alexandre Archambault 2016-04-05 16:24:38 +02:00
parent 62720f94e0
commit 1ac8a782a9
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ case class MavenRepository(
}
F.bind(findVersioning(module, version, None, fetch).run) { eitherProj =>
if (eitherProj.isLeft)
if (eitherProj.isLeft && version.contains("-SNAPSHOT"))
F.map(withSnapshotVersioning.run)(eitherProj0 =>
if (eitherProj0.isLeft)
eitherProj