Ubuntu SBT 加速 方案

在~/.sbt/下创建repositories,文件内容如下:

[repositories]

local
oschina: http://maven.oschina.net/content/groups/public/
oschina-ivy:http://maven.oschina.net/content/groups/public/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
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


文件内容对网上文章的片段综合了一下,目前测试速度比repo1.maven.org快了许多。

你可能感兴趣的:(大数据,编程)