Scala SuperSafe Community Plugin 神器,sbt 0.13,scala 2.11.8 无法解析

标签 scala scalatest

我想用ScalaTest在我的 Scala 项目中,更特别的是 SuperSafe Community Edition .我按照安装说明进行操作,我使用的是 sbt 0.13 和 Scala 2.11.8。

我收到以下错误:

[error] (*:update) sbt.ResolveException: unresolved dependency: com.artima.supersafe#sbtplugin;1.1.0-RC6: not found

我曾尝试使用与 Scala 2.11.8 相关的其他工件,但没有成功。

我可以在 sbt 0.3 和 scala 2.11.8 中使用 SuperSafe 社区版吗?

最佳答案

在开始使用 scalatest 时,我遇到了同样的问题。我使用了 1.0.6-M2 版本,同时为我解决了错误。 plugins.sbt 中的以下 2 行做到了这一点

resolvers += "Artima Maven Repository" at "http://repo.artima.com/releases"

addSbtPlugin("com.artima.supersafe" % "sbtplugin" % "1.0.6-M2")

关于Scala SuperSafe Community Plugin 神器,sbt 0.13,scala 2.11.8 无法解析,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36495023/

相关文章:

scala - 如何测试向另一个 Actor 发送消息的 Akka Actor ?

scala - 在 Scalatest 中使用什么代替符号?

Scala:如何理解Try的flatMap方法?

java - 如何使用 Scala (50.0/51.0) 发出更新的类文件版本?

scala - Scala 中的特征、函数或特征继承函数?

scala - sbt 0.11 中的所有设置[T] 存储在哪里?

斯卡拉 : Error: requirement failed: package stubbing

scala - 在 Scala 中使用 Spark 的 K-means 进行图像分割

scalatest - 我如何让类里面的每个测试自动标记一个特定的标签

scala - 未找到 : value assertThrows