简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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