与specs2 scalaz-stream 0.5a的未解决的依赖关系

sam*_*est 5 scala sbt scalaz specs2

自添加:

"org.specs2" %% "specs2" % "2.4.15" % "test" withSources() withJavadoc(),
Run Code Online (Sandbox Code Playgroud)

我得到了我的构建文件

[warn]  Note: Unresolved dependencies path:
[warn]      org.scalaz.stream:scalaz-stream_2.10:0.5a
[warn]        +- org.specs2:specs2_2.10:2.4.15
...
[error] (*:update) sbt.ResolveException: unresolved dependency: org.scalaz.stream#scalaz-stream_2.10;0.5a: not found
Run Code Online (Sandbox Code Playgroud)

Eug*_*nev 10

添加Scalaz存储库应该有所帮助

resolvers += "Scalaz Bintray Repo" at "https://dl.bintray.com/scalaz/releases"
Run Code Online (Sandbox Code Playgroud)

upd使用https

  • 你永远不应该在你的构建中的"http://dl.bintray.com/scalaz/releases"上设置"scalaz-bintray".它为您打开了跨构建注入攻击.仅使用https将存储库添加到构建中. (2认同)