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

标签 maven amazon-s3 nexus

我有一项任务来检查如何使我们的内部 Nexus 安装(安装在 CentOs/RHEL 上)将 Artifact 存储在 Amazon S3 云存储(或任何其他廉价的云存储)中。

到目前为止,我只找到了一个解决方案 - 将 s3 挂载为文件系统,例如使用 s3fs。但是我在使用 s3fs 时遇到了一些问题(超出了本主题的范围)。

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

提前致谢。

最佳答案

编辑:从 3.12 版开始,S3 blobstore 包含在 nexus 中。

Sonatype 有一个开源插件可以做到这一点:

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



你编译它,把它放在nexus deploy目录下,设置你的S3帐户,然后你就可以测试它了。

关于maven - Sonatype Nexus : How to use Amazon S3 as a storage for maven artifacts?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16524800/

相关文章:

amazon-s3 - Amazon S3 Cloudfront 部署最佳实践

maven - Sonatype staging 需要多长时间才能将我的 Artifact 与 Maven 中心同步

java - maven-assembly-plugin 和 JVM 版本

java - 在编译时将项目版本插入到scala代码中

ruby-on-rails - 如何解析位于 Amazon S3 存储桶中的 CSV 文件

Nexus 存储库管理器和 blob 未知 : blob unknown to registry [Windows Image]

java - 如何将 Nexus maven 存储库索引 (nexus-maven-repository-index) 移动到其他目录(不是临时目录)

java - 如何默认一直以多线程方式运行maven build

java - Jenkins 中的 Gradle 项目依赖错误

amazon-web-services - AWS Lambda : ffmpeg thumbnails Generator: empty JPG