上传jar包至nexus

上传命令:

mvn deploy:deploy-file

-DgroupId=com.xxx

-DartifactId=xxx-pdf

-Dversion=16.10.0

-Dpackaging=jar

-Dfile=/Users/xxx/work/xxx/xxx/xxx/libs/xxx.pdf-16.11.0.jar 

-Durl=http://10.12.0.79:8888/nexus/content/repositories/thirdparty/ 

-DrepositoryId=thirdparty

 

 

maven conf/setting.xml

<server>
        <id>thirdparty</id>
        <username>xxx_dev</username>
        <password>xxx123</password>
    </server>

  

posted @ 2017-11-23 15:22  Jenkin.K  阅读(155)  评论(0编辑  收藏  举报