idea查找maven所有依赖

文章目录

    • idea自带的依赖结构图
    • idea安装maven helper插件

idea自带的依赖结构图

缺点是只有依赖,没有版本
idea查找maven所有依赖_第1张图片

idea安装maven helper插件

settings–>plugins–>搜索maven helper并安装
安装后打开pom.xml文件会有依赖解析
idea查找maven所有依赖_第2张图片

  1. 勾选conflict就是有冲突的依赖
  2. 选中all dependencies as list则所有依赖一列展示
  3. 选中all dependencies as tree 则所有依赖树形展示
  4. 缺点,如果是多模块项目,则必须一个一个pom.xml文件的找
    如果需要解除依赖则点击右侧的树的最外层点击exclude就会自动编写pom.xml文件,然后刷新maven依赖后,再点击Refresh UI,就会刷新依赖解析
    idea查找maven所有依赖_第3张图片

你可能感兴趣的:(#,IntelliJ,IDEA,intellij-idea,maven,java)