在cmd命令面板中输入mvn help:system命令检测是否成功 老是提示
No plugin found for prefix 'help' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\repository), nexus-aliyun (http://maven.aliyun.com/nexus/content/repositories/central/)] -> [Help 1]
网上差了很多,都说是代理问题 但是改了很多 都不行
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
这是最后保存的 后面一直没再改这个
直到 注意到 https://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException 错误文件中一直在说 ${user.home}/.m2/settings.xml
没有提到 自己maven安装包下的setting.xml文件 我把maven安装包下的文件 复制到 ${user.home}/.m2/settings.xml下就可以了。。。。