我想设置一个 nexus "Site repository" 作为远程站点的镜像,假设 http://www.nodejs.org/dist/。
我遵循了这些解释: http://books.sonatype.com/nexus-book/reference/_creating_a_site_repository.html我创建了它(命名为 nodejs-org-dist
)。
此外,我通过将远程 url (http://www.nodejs.org/dist/) 添加到镜像列表中来配置镜像选项卡。
这样做,我希望访问此文件
http://www.nodejs.org/dist/v0.10.33/node.exe
.. 通过此链接:
http://localhost:8081/nexus/content/sites/nodejs-org-dist/v0.10.33/node.exe
但它似乎根本不起作用(我得到一个 404)。
所以:
- 期望这种行为有意义吗?
- 可以做到吗?
- 如果是,我做错了什么?
我对 nexus 和所有这些存储库的世界真的很陌生。
非常感谢您的帮助。
注意:我正在使用Sonatype Nexus™ 2.10.0-0
站点存储库不能代理。镜像配置不会导致 Nexus 根据需要执行任何代理。