In testing a ticket, I made a full build with mvn of the branch with the fix. When I then ran sbt update, the jar was not copied from my maven repo, but downloaded from
scala-tools.org (and as it was lift-webkit...)
So I ended up copying the jar to lib_managed myself to test it. But surely I am missing something...
import sbt._
class LiftProject(info: ProjectInfo) extends DefaultWebProject(info) {
val mavenLocal = "Local Maven Repository" at
"file://"+Path.userHome+"/.m2/repository"
val scalatools_snapshot = "Scala Tools Snapshot" at
val scalatools_release = "Scala Tools Snapshot" at
val liftVersion = "2.3-SNAPSHOT"
// uncomment the following if you want to use the snapshot repo
// val scalatoolsSnapshot = ScalaToolsSnapshots
// If you're using JRebel for Lift development, uncomment
// this line
// override def scanDirectories = Nil
val mysql = "mysql" % "mysql-connector-java" % "5.1.12"
override def libraryDependencies = Set(
"net.liftweb" %% "lift-webkit" % liftVersion % "compile->default",
"net.liftweb" %% "lift-mapper" % liftVersion % "compile->default",
"net.liftweb" %% "lift-wizard" % liftVersion % "compile->default",
"org.mortbay.jetty" % "jetty" % "6.1.22" % "test->default",
"junit" % "junit" % "4.5" % "test->default",
"ch.qos.logback" % "logback-classic" % "0.9.26",
"org.scala-tools.testing" %% "specs" % "1.6.6" % "test->default",
"com.h2database" % "h2" % "1.2.138"
) ++ super.libraryDependencies
}
Any thoughts? Then I can put this in a Wiki under "How to test fixes for tickets".