aws-maven icon indicating copy to clipboard operation
aws-maven copied to clipboard

Deployment of duplicate release version should fail

Open tonicsoft opened this issue 7 years ago • 4 comments

When deploying a release version, the plugin should fail if the same release version already exists in that location. This is because, to my knowledge, there is no way to remove "editing" permissions with Amazon S3, therefore protection against modifying already released versions must come from the plugin.

Current behaviour is that the deployment succeeds and overwrites the existing version in S3.

tonicsoft avatar May 23 '17 17:05 tonicsoft

I may be willing to work on this if people agree it's a good idea. However, I'm sure it's a very quick change for someone familiar with the project.

tonicsoft avatar May 23 '17 17:05 tonicsoft

I vote this down. The current behavior (override) is desirable. I believe a flag for this would be better than changing the current behavior.

gmussi avatar Jan 16 '19 14:01 gmussi

I wouldn’t expect a version to change after release even to fix a bug. It should be static.

Cut a new release if there’s a change required for that version.

mjallday avatar Jan 17 '19 03:01 mjallday

In general, yes, but you should change on your pom from 3.4 to 3.4.1 (for example). If 3.4 stands on your pom, and there is already a 3.4 on the repository, it should be overridden.

gmussi avatar Jan 23 '19 15:01 gmussi