一、maven安装命令。cmd窗口,idea中均可
mvn install:install-file -Dfile=F:\coding2pay\pay\lib/wxpay-sdk-3.0.9.jar -DgroupId=com.github.tedzhdz -DartifactId=wxpay-sdk -Dversion=3.1.9 -Dpackaging=jar
二、打包命令
package -Dmaven.test.skip=true
参考链接:https://blog.csdn.net/Zheng_xiao_xin/article/details/80732865
idea内跳过测试打包还可以: