报错:
Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin:2.5
Failed org.codehaus.mojo:exec-maven-plugin3.0.0:exec (default-cli) on project
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:co
已尝试以下方法,没有解决:
1. 删除仓库maven_repository中的plugins,重新下载(https://blog.csdn.net/lyg9966/article/details/105904175)
2. IDEA-file-Invalidate Caches 清除缓存restart
3. conf/setting.xml换阿里云仓库 mirrors /mirrors中增加
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
<mirror>
<id>aliyunpublic</id>
<name>aliyunpublic</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>public</mirrorOf>