maven helper 插件 maven依赖冲突解决

1.安装maven helper

file -> setting -> plugins -> maven helper

下载插件并安装。
maven helper 插件 maven依赖冲突解决

2.使用

1.随便选择一个pom.xml文件

这里有text和Analyzer两种。
maven helper 插件 maven依赖冲突解决

2.选择

1.点击Analyzer,会发现有些冲突。
maven helper 插件 maven依赖冲突解决

2.选中冲突的,会有冲突细节
maven helper 插件 maven依赖冲突解决
3.在冲突的依赖上右键,会提示排除,点击即可,会自动添加依赖排除
maven helper 插件 maven依赖冲突解决
4.查看依赖,绿色的部分就是插件自动添加的排除语句
maven helper 插件 maven依赖冲突解决