简体   繁体   English

是否可以使用Nexus镜像私有Maven S3存储库?

[英]Is it possible to mirror a private Maven S3 repository with Nexus?

I'm trying to use S3 to deploy our artifacts (so I don't need a server running), while keeping a local Nexus server to 3rd parties JARs and browse everything easier. 我正在尝试使用S3来部署我们的工件(因此我不需要运行服务器),同时将本地Nexus服务器保留到第三方JAR并更轻松地浏览所有内容。

So far I found that I can use Spring AWS Wagon to publish to S3, but I could't find a way to make Nexus read a S3 repository. 到目前为止,我发现我可以使用Spring AWS Wagon发布到S3,但我找不到让Nexus读取S3存储库的方法。

Is it possible? 可能吗? How can I inform Nexus which credentials to use? 如何通知Nexus使用哪些凭据?

Treat the S3 repository as any other maven repository and create a "Proxy Repository" that points to it. 将S3存储库视为任何其他maven存储库,并创建指向它的“代理存储库”。 I would then create a virtual repository that looks at both your local repo and the s3 repo. 然后我会创建一个虚拟存储库,查看您的本地存储库和s3存储库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM