Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Include "provided" dependencies as well in the graph. #99

Open
mgttlinger opened this issue May 9, 2016 · 5 comments
Open

Include "provided" dependencies as well in the graph. #99

mgttlinger opened this issue May 9, 2016 · 5 comments

Comments

@mgttlinger
Copy link

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.

@JAlexoid
Copy link

When it comes to finding library collisions, having provided dependency in the tree is essential.

@bzz
Copy link

bzz commented Sep 18, 2017

As noted in #124 - would not something like ./sbt provided:dependencyTree work?

@jrudolph
Copy link
Member

@bzz it does work. It would be nice, though, to provide a complete view even in the default case.

@lokkju
Copy link

lokkju commented Feb 9, 2018

Some way to get the complete graph for all configurations would be nice

@solarmosaic-kflorence
Copy link

solarmosaic-kflorence commented Jan 19, 2021

FWIW none of the sbt provided:X commands work for me in sbt 1.4 -- they all say "no such setting/task"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants