Search code examples
mavenivy

What is the analogue of mvn dependency:tree in Ivy?


How could one view the dependency tree (along with the transitive dependencies) and the reasoning for them being included, or excluded from the build?

In Maven one can do it like:

mvn dependency:tree -Ddebug

From what I understand, Ivy can produce dependency reports in an XML/HTML format, but it doesn't seem to be the same. (Correct me, if I am wrong).

Also, is this kind of thing available from the standalone Ivy (not being invoked from within an Ant context)?

Thanks!


Solution

  • Take a look at <ivy:report>. This will create a HTML based report of the dependencies, and it will also create a graphml file that you can use yed to produce a report, or create a dot file and use graphviz.