scala版本为2.10.2,sbt为0.13.0。
我正在尝试为scala单元测试代码覆盖设置scct,所以在build.sbt中我添加了
seq(ScctPlugin.instrumentSettings : _*)在项目/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新手)
发布于 2013-10-16 13:33:29
SCCT有一个新的源代码存储库:https://github.com/SCCT/scct
因此,您可以使用addSbtPlugin("com.github.scct" %% "sbt-scct" % "0.2")在plugins.sbt文件中从maven central获取发布版本。
我的复制项目是在GitHub上进行的。
更新:
存储库已在https://github.com/sqality/scct重新定位,您需要在plugins.sbt文件中使用addSbtPlugin("com.sqality.scct" % "sbt-scct" % "version")。
发布于 2014-01-05 15:02:36
原来的SCCT现在是不活动的。
这是两个最活跃的叉子。
https://stackoverflow.com/questions/19400819
复制相似问题