Scala 从github导入SBT项目时出错

Scala 从github导入SBT项目时出错,scala,sbt,Scala,Sbt,我正在尝试将一个项目从git回购导入到我的项目中。以下是我的Build.scala文件中的内容 object MyBuild extends Build { val appName = "bitcoinj-playground" val appV = "1.0" val scalaV = "2.11.4" val sprayV = "1.3.2" val akkaV = "2.3.8" val bootstrapV = "3.3.2" val

我正在尝试将一个项目从git回购导入到我的项目中。以下是我的
Build.scala
文件中的内容

object MyBuild extends Build {

  val appName = "bitcoinj-playground"
  val appV = "1.0" 
  val scalaV = "2.11.4"

    val sprayV = "1.3.2"
    val akkaV = "2.3.8" 
    val bootstrapV = "3.3.2"
    val webJarsPlayV = "2.3.0"

  val appDependencies = Seq(
    "io.spray"            %%  "spray-can"     % sprayV withSources() withJavadoc(),
    "io.spray"            %%  "spray-routing" % sprayV withSources() withJavadoc(),
    "io.spray"            %%  "spray-testkit" % sprayV  % "test" withSources() withJavadoc(),
    "com.typesafe.akka"   %%  "akka-actor"    % akkaV withSources() withJavadoc(),
    "com.typesafe.akka"   %%  "akka-testkit"  % akkaV   % "test" withSources() withJavadoc(),
    "org.specs2"          %%  "specs2-core"   % "2.4.7-scalaz-7.0.6" % "test" withSources() withJavadoc(),
      "org.scalactic"               %%  "scalactic"     %   "2.2.1" % "test" withSources() withJavadoc(),
      "io.spray"            %%  "spray-json"    % "1.3.0" withSources() withJavadoc(),
      "com.github.nscala-time" %% "nscala-time" % "1.6.0" withSources() withJavadoc() ,
    "com.typesafe.play" %% "play-mailer" % "2.4.0"

  )

  val main = Project(appName, file(".")).dependsOn(Projects.depProject).settings(
    version := appV,
    scalaVersion := scalaV, 
    resolvers += Resolver.sonatypeRepo("releases"),  
    libraryDependencies ++= appDependencies
  )
}

object Projects {
  lazy val depProject = RootProject(uri("https://github.com/bitcoinj/bitcoinj.git"))
}
这就是我得到的错误

Error:Error while importing SBT project:
...
    at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:71)
    at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:66)
    at sbt.Using.apply(Using.scala:25)
    at sbt.MainLoop$.runWithNewLog(MainLoop.scala:66)
    at sbt.MainLoop$.runAndClearLast(MainLoop.scala:49)
    at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:33)
    at sbt.MainLoop$.runLogged(MainLoop.scala:25)
    at sbt.StandardMain$.runManaged(Main.scala:57)
    at sbt.xMain.run(Main.scala:29)
    at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
    at xsbt.boot.Launch$.withContextLoader(Launch.scala:129)
    at xsbt.boot.Launch$.run(Launch.scala:109)
    at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:36)
    at xsbt.boot.Launch$.launch(Launch.scala:117)
    at xsbt.boot.Launch$.apply(Launch.scala:19)
    at xsbt.boot.Boot$.runImpl(Boot.scala:44)
    at xsbt.boot.Boot$.main(Boot.scala:20)
    at xsbt.boot.Boot.main(Boot.scala)
[error] Couldn't run: ScopedKey(Scope(Select(ProjectRef(file:/home/chris/dev/bitcoinj-playground-sbt-project/,bitcoinj-playground)),This,This,This),update)
[error] Use 'last' for the full log.

See complete log in /tmp/sbt2.log

我正试图将
bitcoinj
项目从github导入到我的项目中。特别是主分支。当我使用
dependsOn
操作符添加sbt时,它似乎不会运行。为什么会这样?

可能是因为
bitcoinj
是一个maven项目:)检查,尽管我无法使其工作。可能的副本