远程仓库命令
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