Downloading complete maven remote repository to Local repository?

前端 未结 4 1382
攒了一身酷
攒了一身酷 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:17

    I'm not sure how you would do that using Maven. It might be useful to explain what you are trying to achieve - at a guess you want a local cache?

    What you might be looking for really is a local repository manager like Sonatype's Nexus. These repository managers provide a local cache for remote repositories, as well as providing somewhere for you to put your code.

提交回复
热议问题