Downloading complete maven remote repository to Local repository?

前端 未结 4 1383
攒了一身酷
攒了一身酷 2020-12-15 20:55

Is there any to get the entire remote repository, say from http://repo1.maven.org/maven2/ , to my local repository (to %USERPROFILE%)?

4条回答
  •  长情又很酷
    2020-12-15 21:16

    I just had to mirror a private product repo to make available on another machine. lftp worked just fine:

    $ lftp http://my.repo.example.com/product/maven
    mirror --no-empty-dirs --parallel=3 . my-local-repo
    

提交回复
热议问题