1. 问题描述
当导入别人的
Maven
项目时,可能会出现Plugin 'maven-clean-plugin:3.1.0' not found
的错误信息。
2. 解决方案
2.1 方案一
检查自己的
Maven
仓库地址是否正确,一般引入其他人的项目时,Maven
仓库的目录以及配置都会是别人的,自己需要重新配置。
主要检查以下几点:

然后重新启动idea试试
2.2 方案二
在插件的每一个上加上具体的groupId
<groupId>org.apache.maven.plugins</groupId>

成功了。
