新建Maven项目报错:Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin:x.x
新建Maven项目时报错:
Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin:2.5
Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin:2.6
Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin:2.7
主要原因是本地maven的配置文件和仓库地址不一致。
手动更改就好了。