2

After running sbt compile I can long log with error of unresolved dependencies, but can see a list of all unresolved dependencies?

Cherry
  • 31,309
  • 66
  • 224
  • 364
  • If you run simply `sbt`, doesn't it lists all the `UNRESOLVED DEPENDENCIES` in a formatted table? It has been a while when I last used it but recall such a feature... – rlegendi Aug 15 '14 at 07:03

1 Answers1

0

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.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250