本地jar包上传远程maven仓库:cmd窗口执行下面一条命令
mvn deploy:deploy-file -DgroupId=com.xensource.xenapi -DartifactId=xenapi -Dversion=7.0 -Dpackaging=jar -Dfile=c:/user/aa/xenserver-7.0.0.jar -Durl=http://IP:port/nexus/content/repositories/thirdparty -DrepositoryId=thirdparty