maven 上传jar包到本地仓库和私服

http://blog.csdn.net/we_shell/article/details/49819221

 

 

mvn install:install-file -Dfile=D:\thrift-0.9.2.jar -DgroupId=org.apache.thrift -DartifactId=libthrift -Dversion=0.9.2 -Dpackaging=jar

 

mvn deploy:deploy-file -DgroupId=org.apache.thrift -DartifactId=libthrift -Dversion=1.12 -Dpackaging=jar -Dfile=D:\thrift-0.9.2.jar -Durl=http://ip:port/nexus/content/repositories/thirdparty/ -DrepositoryId=thirdparty

posted @ 2017-12-03 14:47  aLa神灯  阅读(160)  评论(0编辑  收藏  举报