title: Using the RootProject feature of sbt to do something other than 'sbt compile'
body: <p>I'm trying to use the RootProject feature of SBT to download another project from a git repo, for example:</p>
  
  <pre><code>lazy val schwatcher = RootProject(uri("https://github.com/lloydmeta/schwatcher.git"))
  
  lazy val root = project in file(".") dependsOn schwatcher
  </code></pre>
  
  <p>This successfully downloads the git repo and basically runs the "sbt compile" command on the git repo, compiling all of the classes. However, I'd like it to go one step beyond running the usual "sbt compile" command. Instead, I want it to run "sbt package" so that a jar file is produced. Is there any way to do this?</p>
  
  <p>Thanks.</p>