Deleted items in a maven repo, cannot be re-used.
Summary
Deleted items in a maven repo, cannot be re-used.
Steps to reproduce
- Upload an artifact to maven repo, eg:
"PUT /api/v4/projects/PROJECT_ID/packages/maven/com/test/foobar/1.0.0/foobar-1.0.0.pom HTTP/1.1" 200 4
-
Delete the new entry in the UI (under Packages & Registries)
-
Upload the same artifact again:
"PUT /api/v4/projects/PROJECT_ID/packages/maven/com/test/foobar/1.0.0/foobar-1.0.0.pom HTTP/1.1" 400 60 error while uploading of com/test/foobar/1.0.0/foobar-1.0.0.pom: {"message":"Validation failed: Name has already been taken"}