使用cmd命令行將jar包添加到自己本地電腦上的maven倉庫

1.進入cmd 2.cd命令進入到jar包所在目錄 3.使用命令:mvn install:install-file -DgroupId=smartload -DartifactId=smartupload -Dpackaging=jar -Dversion=0.0.1 -Dfile=SmartUpload.jar 其中Dfile爲jar包的完整名稱,Dversion爲jar的版本,Dartifac
相關文章
相關標籤/搜索