如何让 Nexus 代理 s3 上的 springsource maven 存储库?
我有 Nexus 1.5.0 设置来代理 springsource 存储库,但它不起作用。存储库位于 s3 上,nexus 似乎不明白如何处理这个问题。
什么是正确的模式?
这是我被告知需要的存储库,但我无法访问其中的 Maven 路径
http ://repository.springsource.com/maven/bundles/release 做
,我需要在本地镜像这些吗?
I have nexus 1.5.0 setup to proxy springsource repositories but it's not working. The repositories are on s3 that nexus doesn't seem to understand how to deal with that.
What's the right pattern?
Here are the repositories I'm told I need, but I cannot access the maven paths with in them
http://repository.springsource.com/maven/bundles/release
http://repository.springsource.com/maven/bundles/external
Do, I need to mirror these locally?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据 NEXUS-1121,您的 Nexus 版本知道如何处理基于 S3 的存储库。下面,尤金的评论:
According to NEXUS-1121, your version of Nexus knows how to deal with S3 based repositories. Below, Eugene's comment:
它适用于我的此配置和另一个存储库。
我有一个 Sonatype Nexus 存储库版本 1.9.1.1。我想配置存储库以从 http://maven.springframework.org/milestone/ 下载工件。
我使用此配置创建了一个新的代理存储库:
我保存了数据并创建了存储库。
奇怪的是,当我尝试使用“浏览远程”选项卡时,我无法列出任何内容。
重要:之后我单击“公共存储库/配置”并将 Spring Maven 里程碑存储库添加到订购组存储库。
最后,我在我的 POM 存档中写入了依赖项:
并且下载没有问题。
我希望它会有用。
It works for me with this configuration and with another repository.
I have a Sonatype Nexus repository version 1.9.1.1. I wanted to configure the repositories to download artifacts from http://maven.springframework.org/milestone/.
I have created a new proxy repository with this configuration:
I saved the data and the repository was created.
The strange thing is that when i try to use the "browse Remote" tab I can't list anything.
Important: After that I clicked on Public Repositories / Configuration and added the Spring Maven Milestone Repository to the ordered group repositories.
And finally, I wrote the dependency in my POM archive:
And it was downloaded without problems.
I hope it will be useful.