maven在镜像地址中获取依赖包的时候报错:
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:3.1 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-resources-plugin:jar:3.1 in http://maven.aliyun.com/nexus/content/repositories/central/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven-central has elapsed or updates are forced
Plugin org.apache.maven.plugins:maven-resources-plugin:3.1 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-resources-plugin:jar:3.1 in http://maven.aliyun.com/nexus/content/repositories/central/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven-central has elapsed or updates are forced
1.首先将maven的setting文件的本地仓库和镜像仓库修改
<mirror>
<id>alimaven-central</id&