Sonatype的的Nexus:如何使用Amazon S3作为存储Maven的文物?如何使用、文物、Nexus、Sonatype

2023-09-11 09:26:30 作者:灯火阑珊处

我有一个任务,研究如何使我们的内部的Nexus安装(安装在CentOS / RHEL)存储在亚马逊S3云存储的图像(或任何其他廉价云存储)。

I've got a task to examine how to make our internal Nexus installation (installed on CentOs/RHEL) to store artifacts in Amazon S3 cloud storage (or any other cheap cloud storage).

到目前为止,我只找到一个解决方案 - 安装S3作为文件系统,FE使用s3fs。但我见过使用s3fs几个问题(不在本主题的讨论范围)。

So far, I had found only one solution - mount s3 as a file system, f.e. using s3fs. But I've met few problems using s3fs (beyond the scope of this topic).

也许有人已经成功地在寻找类似的任务的解决方案,并且可以分享知识? 或者,也许没有人有更好的想法?

Maybe someone already succeeded in the search of the solution for similar task, and could share the knowledge? Or maybe anyone had better ideas?

在此先感谢。

推荐答案

的Nexus Sonatype的不支持使用S3的,因为它的文件系统存储。

Nexus Sonatype does not support the use of S3 as it's filesystem store.

为什么不使用的Nexus来管理你的主存储库,并使用如 s3sync 工具镜像存储库文件内容到S3?会是一个有用的方法来提供版本发布给客户。

Why not use Nexus to manage your master repository and use a tool like s3sync to mirror the repository file contents into S3? Would be a useful way to provide versioned releases to customers.