【问题标题】:Unresolved dependency with specs2 scalaz-stream 0.5aspecs2 scalaz-stream 0.5a 未解决的依赖关系
【发布时间】:2015-07-07 22:35:30
【问题描述】:

自从添加:

"org.specs2" %% "specs2" % "2.4.15" % "test" withSources() withJavadoc(),

我得到的构建文件

[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

【问题讨论】:

    标签: scala sbt scalaz specs2


    【解决方案1】:

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

    resolvers += "Scalaz Bintray Repo" at "https://dl.bintray.com/scalaz/releases"
    

    upd 使用 https

    【讨论】:

    • 你永远不应该在你的构建中将“scalaz-bintray”设置为“dl.bintray.com/scalaz/releases”。它使您可以进行交叉构建注入攻击。仅使用 https 将存储库添加到您的构建中。
    猜你喜欢
    • 1970-01-01
    • 2016-03-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-10-27
    相关资源
    最近更新 更多