if you publish a snapshot release to apache/archiva and start to browse the repository, you will get "managed repo is configured for release only" error.
To fix this, you should:
- login to the archiva installed machine
- goto the repository repositories/internal to find the component whose snapshot is pushed
- delete the snapshot version directory ( like "1.0-SNAPSHOT" )
- remove the snapshot version from maven-metadata.xml file
- re-generate the md5 and put it to the maven-metadata.xml.md5 like below: