Sonatype Nexus: How to use Amazon S3 as storage for maven artifacts?

I have a task to learn how to make our internal installation of Nexus (installed on CentOs / RHEL) for storing artifacts in Amazon S3 cloud storage (or any other cheap cloud storage).

So far, I have found only one solution - mount s3 as a file system, i.e. using s3fs. But I met several problems using s3fs (outside the scope of this topic).

Perhaps someone has already managed to find a solution to a similar problem and could share their knowledge? Or maybe someone had better ideas?

Thanks in advance.

+6
source share
2 answers

Sonatype has an open source plugin that does this:

https://github.com/sonatype/nexus-blobstore-s3

you compile it, put it in the nexus deployment directory, set up your S3 account, and you can test it.

+5
source

Nexus Sonatype does not support the use of S3 as file system storage.

Why not use Nexus to manage your main repository and use a tool like s3sync to mirror the contents of the repository file in S3? It would be a useful way to provide version versions to clients.

+3
source

Source: https://habr.com/ru/post/944888/


All Articles