Cannot resolve plugin org.apache.maven.plugins:maven-clean-plugin:3.1.0 错误的解决办法:
在pom.xml文件添加:
在pom.xml的<project></project>间添加下面代码
<repositories>
<repository>
<id>alimaven</id>
<url>https://maven.aliyun.com/repository/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>alimaven</id>
<url>https://maven.aliyun.com/repository/public</url>
</pluginRepository>
</pluginRepositories>