FROM: http://www.4wei.cn/archives/1002417maven
sbt運行時常常須要下載大量的jar包,默認鏈接到maven官網,速度一般比較慢。
在`~/.sbt/`下添加一個`repositories`文件,裏面內容以下:spa
[repositories] local osc: http://maven.oschina.net/content/groups/public/ typesafe: http://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly sonatype-oss-releases maven-central sonatype-oss-snapshots