在执行mvn help:system时报类似以下错误
【warning】failed to retrieve plugin…………………………
解决方法:
在settings.xml中 mirrors标签下添加镜像仓库,配置如下:
<mirror>
<id>aliyun</id>
<mirrorOf>*</mirrorOf>
<name>aliyun Maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
其他可用仓库也可以。