怎么镜像 maven 的仓库?

2016-03-11 15:53:35 +08:00
 hellojinjie

我在想的是怎么把 https://oss.sonatype.org/content/repositories/ 这个仓库完整的镜像下来啊,这样我就可以在开发环境中直接使用 maven 了。

2258 次点击
所在节点    问与答
3 条回复
a342191555
2016-03-11 16:30:45 +08:00
好像官网给的有教程,然而不会(没成功),于是就 wget -r 了,现在使用时表示稳定- -
gangsta
2016-03-11 16:49:10 +08:00
私服?nexus 或者 archiva
hellojinjie
2016-03-17 15:30:01 +08:00
看到这里有这么句话,就只好放弃这个想法了

https://maven.apache.org/guides/mini/guide-mirror-settings.html

The size of the central repository is increasing steadily To save us bandwidth and you time, mirroring the entire central repository is not allowed. (Doing so will get you automatically banned) Instead, we suggest you setup a repository manager as a proxy.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/262814

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX