2012-06-27 139 views
4

我试图按照https://github.com/harrah/xsbt的指令构建sbt 0.12.0-RC1,但未能下载以前版本的sbt。由于未解决的依赖性,无法构建sbt 0.12.0-RC1

Getting org.scala-sbt sbt_2.9.1 0.12.0-M2 ... 

:: problems summary :: 
:::: WARNINGS 
       module not found: org.scala-sbt#sbt_2.9.1;0.12.0-M2 

     ==== local: tried 

      /home/k/.ivy2/local/org.scala-sbt/sbt_2.9.1/0.12.0-M2/ivys/ivy.xml 

     ==== typesafe-ivy-releases: tried 

      http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt_2.9.1/0.12.0-M2/ivys/ivy.xml 

     ==== Maven Central: tried 

      http://repo1.maven.org/maven2/org/scala-sbt/sbt_2.9.1/0.12.0-M2/sbt_2.9.1-0.12.0-M2.pom 

     ==== sonatype-snapshots: tried 

      https://oss.sonatype.org/content/repositories/snapshots/org/scala-sbt/sbt_2.9.1/0.12.0-M2/sbt_2.9.1-0.12.0-M2.pom 

       :::::::::::::::::::::::::::::::::::::::::::::: 

       ::   UNRESOLVED DEPENDENCIES   :: 

       :::::::::::::::::::::::::::::::::::::::::::::: 

       :: org.scala-sbt#sbt_2.9.1;0.12.0-M2: not found 

       :::::::::::::::::::::::::::::::::::::::::::::: 



:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS 
unresolved dependency: org.scala-sbt#sbt_2.9.1;0.12.0-M2: not found 
Error during sbt execution: Error retrieving required libraries 
    (see /home/k/.sbt/boot/update.log for complete log) 
Error: Could not retrieve sbt 0.12.0-M2 

回答

3

在构建sbt 0.12-RC1之前,您需要安装0.12-M2。

这是根据“Build from source”点3:

注意SBT总是与以前的稳定版本内置。例如,0.12分支使用0.12.0-M2构建,v0.11.2标记使用0.11.1构建,而v0.11.0标记使用0.10.1构建。

我想你会感觉更好,只需从their repository下载。

相关问题