常春藤中mvndependency:tree的类似物是什么? [英] 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?
在Maven中,您可以这样做:
In Maven one can do it like:
mvn dependency:tree -Ddebug
据我了解,Ivy可以生成XML/HTML格式的依赖项报告,但看起来并不相同. (如果我错了,请纠正我).
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).
还可以从独立的Ivy(不是从Ant上下文中调用)中获得这种东西吗?
Also, is this kind of thing available from the standalone Ivy (not being invoked from within an Ant context)?
谢谢!
推荐答案
看看 <ivy:report>
.这将创建一个基于HTML的依赖关系报告,还将创建一个graphml文件,您可以使用 yed 生成报告,或创建一个点文件并使用 graphviz .
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.
这篇关于常春藤中mvndependency:tree的类似物是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!