发布平台对接 nexus (maven)

1、上传工具
2、对接

Guide to deploying 3rd party JARs to remote repository
Apache > Maven > Plugins > Apache Maven Deploy Plugin > Usage

https://stackoverflow.com/questions/37543120/how-to-manually-deploy-artifacts-in-nexus-repository-manager-oss-3
https://support.sonatype.com/hc/en-us/articles/213465898-What-command-line-tools-are-available-for-Nexus-

mvn deploy:deploy-file -DgroupId=my.group.id \ 
    -DartifactId=my-artifact-id \ 
    -Dversion=1.0.0.1 \ 
    -Dpackaging=jar \ 
    -Dfile=foo.jar \ 
    -DgeneratePom=true \ 
    -DrepositoryId=my-repo \ 
    -Durl=http://my-nexus-server.com:8081/repository/maven-releases/

猜你喜欢

转载自blog.csdn.net/luansxx/article/details/89429222