'Prevent release artifacts to be overwritten when using s3 to store maven artifacts
We are using Amazon S3 to manage the maven artifacts.
Currently, if we do mvn deploy
, the release artifacts gets overwritten on Amazon s3.
Ideally the release artifacts should be immutable. How can we ensure the same?
Solution 1:[1]
Check S3 Object Lock functionality. Probably it's what you are looking for. But be careful, with some policies object can be removed just together with an AWS account.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Alex |