Fork me on GitHub
#leiningen
<
2017-02-17
>
hlship19:02:09

I’ve got a Pomegranate question. I’m attempting to use leiningen.core.classpath/get-dependencies to get a graph of all dependencies, including redundant ones

hlship19:02:52

I’m trying to visualize dependencies but the normal code paths edit out common dependencies so that the graph makes it look like each shared dependency is only pointed to by one other dependency.

hlship19:02:24

But I’m trying to see all the dependencies so I can identify what set of deps target other deps, and if there are version conflicts.

hlship19:02:59

Looks like it takes some heavy work with Aether, in pedantic.core, to get at this data? Or is there something easier I can use?

hlship19:02:49

… so again, if my project uses commons-codec, but also uses pedestal.service (which has a dependency on commons-codec), lein deps :tree only sees the one dependency (from my project) and the normal dependency from pedestal.service to commons-codec is omitted. But I want to see that, so I can see all the ways a given dependency is included in my project, not just the first.

mrchance22:02:16

As did our buildserver, so this isn't a one off thing, apparently. Is there any way around that?

mrchance22:02:57

Apparently it's a bug in sonatype aether. Does leiningen still use that?