简体   繁体   中英

How to deploy local maven repo to remote repo

I've a valid local maven repo which is generated by a closed-source tool. I'd like to deploy the full repo to a remote maven repo.

Any clues how to do this?

If you can't scp or transfer up the repo another way, then I assume you'd have to write a script that would walk your local repo and put them all up using the deploy plugin. https://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html

If you're moving the whole repo up, I'd suggest to put it to an isolated repo so that it doesn't mix with other upstream repos like central.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM