maven发布jar到nexus命令

指定groupId为com.heli 

指定artifactId为common-interface

指定版本:1.0.0.0

指定jar所在路径:E:\workspace\heli-core-entity\target\com.heli.entity-1.0.0.jar

指定nexus的url为:http://192.168.1.244:8081/nexus/content/repositories/thirdparty

库id:thirdparty

mvn deploy:deploy-file -DgroupId=com.heli -DartifactId=common-interface -Dversion=1.0.0.0 -Dpackaging=jar -Dfile=E:\workspace\heli-core-entity\target\com.heli.entity-1.0.0.jar -Durl=http://192.168.1.244:8081/nexus/content/repositories/thirdparty -DrepositoryId=thirdparty

你可能感兴趣的:(maven发布jar到nexus命令)