将jar打包上传到本地和远程maven仓库

版权声明:啊 这是啥 https://blog.csdn.net/huangyueranbbc/article/details/84327108
mvn install:install-file -Dfile=C:\Users\Administrator\Desktop\SH深圳航空\jar\szhk-sms-1.0.0.jar -DgroupId=com.szhk.sms -DartifactId=szhk-sms -Dversion=1.0.0 -Dpackaging=jar 
mvn deploy:deploy-file -DgroupId=com.xxx.szhk.sms -DartifactId=szhk-sms -Dversion=1.0.0 -Dpackaging=jar -Dfile=C:\Users\Administrator\Desktop\lib\szhk-sms-1.0.0.jar -Durl=http://192.168.0.123:8081/nexus/content/repositories/thirdparty/ -DrepositoryId=thirdparty

猜你喜欢

转载自blog.csdn.net/huangyueranbbc/article/details/84327108