报错内容:
No plugin fond for prefix 'install' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositoreis [local <C:\Users\xxx\.m2\repository>, central <https://repo.maven.apache.org.maven2>] -> [Help 1]
原因:maven默认找的是settings.xml,由于我的配置文件是settings-xx.xml,maven的conf文件夹里没有settings.xml文件,所以导致我外部本地包向maven库打包报错了
解决方案:将我得 settings-xx.xml 文件重命名为 settings.xml 后,再次执行命令,就成功了