【发布时间】:2014-01-05 23:07:31
【问题描述】:
scala 是 2.10.2 版本,sbt 是 0.13.0
我正在尝试在 build.sbt 中为 scala 单元测试代码覆盖率设置 scct 我加了
seq(ScctPlugin.instrumentSettings : _*)
我在 project/plugins.sbt 中添加了
resolvers += Classpaths.typesafeResolver
resolvers += "scct-github-repository" at "http://mtkopone.github.com/scct/maven-repo"
addSbtPlugin("reaktor" %% "sbt-scct" % "0.2-SNAPSHOT")
我收到类似...的错误。
module not found: reaktor#sbt-scct;0.2-SNAPSHOT
最后一条消息是
[warn] ==== scct-github-repository: tried
[warn] http://mtkopone.github.com/scct/maven-repo/reaktor/sbt-scct_2.10_0.13/0.2-SNAPSHOT/sbt-scct-0.2-SNAPSHOT.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: reaktor#sbt-scct;0.2-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] reaktor:sbt-scct:0.2-SNAPSHOT (sbtVersion=0.13, scalaVersion=2.10)
我看http://mtkopone.github.io/scct/maven-repo/reaktor/ 我看到我似乎需要的那个不见了,例如我看到了
sbt-scct_2.9.2_0.13/
scct_2.10/
and a bunch of others but no ... sbt-scct_2.10_0.13
你能帮忙吗? (我是sbt新手)
【问题讨论】:
标签: scala sbt code-coverage scct