[ERROR] No plugin found for prefix ‘help’ in the current project and in the plug
in groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repos
itories [local (C:\xxx\maven\repo), central (https://repo.maven.apache.org/
maven2)] -> [Help 1]
出现以上错误时,大概率是网络的问题,不能连接到外网,所以下载不到所需文件报错;只需通过一些方式连到外网即可。
MVN help:system 命令运行正确,在用户目录下没有 .m2文件,只需删除config文件夹下的setting.xml文件下的:
<localRepository>D:\maven\repository</localRepository>
即可解决问题。