0
点赞
收藏
分享

微信扫一扫

Maven组件通过命令上传本地和私有仓库

心如止水_c736 2022-05-12 阅读 61

远程仓库命令

mvn deploy:deploy-file -Dfile=kaptcha-master-2.3.3.jar -DgroupId=com.github.penggle -DartifactId=kaptcha -Dversion=2.3.4 -Dpackaging=jar -DrepositoryId=paic-maven-public -Durl=http://maven.paic.com.cn/repository/maven-public/

本地仓库命令

mvn install:install-file -Dfile=abc.jar -DgroupId=com.github.penggle -DartifactId=kaptcha -Dversion=2.3.5 -Dpackaging=jar -DgeneratePom=true -DcreateChecksum=true

说明:前提系统已安装maven


扩展阅读:

https://blog.51cto.com/aiilive/1916073

https://www.cnblogs.com/mq0036/p/16030678.html

https://www.cnblogs.com/zhangtan/p/7492599.html

https://www.jianshu.com/p/5a737de5b52c





举报

相关推荐

0 条评论