我改本地仓库地址之后,pom.xml的文件头部,<project>标签处就报了错
Failure to transfer org.apache.maven.plugins:maven-resources-plugin:jar:2.5 from http://maven.oschina.net/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus-osc has elapsed .......
原因是由于缺少maven-plugin-api的jar包
解决办法:
在pom.xml文件中加入maven-plugin-api配置
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>3.3.9</version>
</dependency>
然后保存刷新