import sbt._
import Keys._

object PluginBuild extends Build {
  override def projects = Seq(root)
  
  val root = Project("root", file(".")) settings(
    resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns),
    addSbtPlugin("com.typesafe" % "sbt-native-packager" % "0.1.0"),
    libraryDependencies += "net.databinder" %% "dispatch-http" % "0.8.6"
  )
}

import sbt._
import Keys._

object PluginBuild extends Build {
  override def projects = Seq(root)
  
  val root = Project("root", file(".")) dependsOn(packager) settings(libraryDependencies += "net.databinder" %% "dispatch-http" % "0.8.6")
  
  lazy val packager = RootProject(file("/home/jsuereth/projects/typesafe/sbt-native-packager"))
}

--- 
+++ 
@@ -4,7 +4,9 @@
 object PluginBuild extends Build {
   override def projects = Seq(root)
   
-  val root = Project("root", file(".")) dependsOn(packager) settings(libraryDependencies += "net.databinder" %% "dispatch-http" % "0.8.6")
-  
-  lazy val packager = RootProject(file("/home/jsuereth/projects/typesafe/sbt-native-packager"))
+  val root = Project("root", file(".")) settings(
+    resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns),
+    addSbtPlugin("com.typesafe" % "sbt-native-packager" % "0.1.0"),
+    libraryDependencies += "net.databinder" %% "dispatch-http" % "0.8.6"
+  )
 }
Build no uses released packaging plugin.
