sbt-dependency-graph
sbt-dependency-graph copied to clipboard
Include "provided" dependencies as well in the graph.
Dependencies marked as "provided" are needed to compile and needed at runtime as well but need to be provided at deployment rather than being packaged with the code depending on them.
It would be very nice to see those dependencies for transitive dependencies to check if you need to provide them or if they are already provided by an dependency you have currently. This process would be greatly streamlined if they would show up in the dependency graph. Ideally they would be marked/highlighted depending on them being currently missing in the dependency classpath.
When it comes to finding library collisions, having provided dependency in the tree is essential.
As noted in #124 - would not something like ./sbt provided:dependencyTree work?
@bzz it does work. It would be nice, though, to provide a complete view even in the default case.
Some way to get the complete graph for all configurations would be nice
FWIW none of the sbt provided:X commands work for me in sbt 1.4 -- they all say "no such setting/task"