Noticed that on deployment policy: "Disable redeploy" and "Read-only" you get the same message in the log in H2:
"maven-releases/a/b/4.0/b-4.0.mp4 cannot be updated"
Orient has a distinct message for Read-only:
"Repository is read only: maven-releases"
I assume this isn't intentional, filing for analysis.
Reproduce steps (via H2):
- Push something to maven hosted
- Push it again (default is disable redeploy but if you set it otherwise you'd have to set this first). You'll see "cannot be updated" in the log.
- Change the deployment policy to read-only.
- Push the item again. BUG: You'll see "cannot be updated" in the log.