maven将本地jar包引入本地maven仓库命令

 一、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

猜你喜欢

转载自www.cnblogs.com/foolash/p/11769587.html
今日推荐