如何查看Maven pom.xml文件的传递依赖关系? [英] How can I view transitive dependencies of a Maven pom.xml file?

查看:1952
本文介绍了如何查看Maven pom.xml文件的传递依赖关系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

解决方案

是否有一个CLI工具可用于快速查看Maven pom.xml文件的传递依赖关系?在CLI上,使用 mvn依赖项:树

(以下是一些其他使用说明



否则, M2Eclipse 中的POM编辑器(用于Eclipse的Maven集成)非常好,它包含一个层次依赖视图。


Is there a CLI tool I can use to quickly view the transitive dependencies of a Maven pom.xml file?

解决方案

On the CLI, use mvn dependency:tree
(Here are some additional Usage notes)

Otherwise, the POM Editor in M2Eclipse (Maven integration for Eclipse) is very good, and it includes a hierarchical dependency view.

这篇关于如何查看Maven pom.xml文件的传递依赖关系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆