Previous test case only seemed to reproduce the problem due to resolver ordering. Closes #805 for now.

This commit is contained in:
Mark Harrah 2013-10-03 12:56:16 -04:00
parent 277813dd0a
commit 541375cde6
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
addSbtPlugin("org.example" % "def" % "latest.integration")
resolvers ++= {
def r(tpe: String) = Resolver.file(s"local-$tpe", baseDirectory.value / ".." / tpe)(Resolver.ivyStylePatterns)
r("stable") :: r("snapshot") :: Nil
def r(tpe: String) = Resolver.file(s"local-$tpe", baseDirectory.value / ".." / tpe)(Resolver.ivyStylePatterns)
r("snapshot") :: r("stable") :: Nil
}

View File

@ -5,6 +5,7 @@ $ mkdir stable snapshot
$ copy-file changes/def.sbt def.sbt
$ touch make-stable
> reload
> show stable
> publish
# resolve that release for use as a plugin
@ -27,6 +28,7 @@ $ copy-file changes/def.sbt def.sbt
$ copy-file changes/DefPlugin.scala DefPlugin.scala
> reload
> show stable
> publish
# resolve the latest.integration release, which should