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

谁说胖子不能爱 提交于 2019-12-08 14:37:48

问题


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!


回答1:


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.




回答2:


Have a look at <ivy:dependencytree /> that will display the dependency tree in the console.



来源:https://stackoverflow.com/questions/15002812/what-is-the-analogue-of-mvn-dependencytree-in-ivy

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!