简体   繁体   English

如何列出sbt中所有未解决的依赖关系?

[英]How list all unresolved dependencies in sbt?

运行sbt compile我可以长时间记录未解决的依赖项的错误,但是可以看到所有未解决的依赖项的列表吗?

As illustrated in " Unresolved Dependencies in sbt ", or in Unresolved dependency SBT 0.13.0 after update , running sbt with no command line arguments, meaning starting in interactive mode will print the unresolved dependencies. 如“ sbt未解决的依赖 ”或更新后未解决的依赖项SBT 0.13.0中所示,在不使用命令行参数的情况下运行sbt意味着在交互模式下启动将打印未解决的依赖项。

For example: 例如:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.typesafe.play#sbt-link;2.2.0: not found
[warn]  :: com.typesafe.play#play-exceptions;2.2.0: not found
[warn]  :: com.typesafe.play#routes-compiler_2.10;2.2.0: not found
[warn]  :: com.typesafe.play#templates-compiler_2.10;2.2.0: not found
[warn]  :: com.typesafe.play#console_2.10;2.2.0: not found
[warn]  :: net.contentobjects.jnotify#jnotify;0.94: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::

Adding some repo in the ~/.sbt/repositories can gelp. 在〜/ .sbt /存储库中添加一些回购可能会陷入困境。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM