Reject uploading existing version of maven artifacts
Problem to solve
switch to accept or deny uploading artifacts of existing version in maven.
Loblaw's Release Engineering Persona: Product Manager in GitLab Community Edition
- Currently during our publish process we are downloading the maven-metadata.xml, loop through all available versions & if any matches with the current version(about to be published) we are terminating the process with non-zero. This has to be handled in GitLab Maven.
- Maven repo(at least jFrog) provides authority to deny uploading artifacts of same version.
- Only Admin or User with
read, write, DELETE access can overwrite.
Relates to gitlab-ce#52710