- Configure a hosted repository to allow yum metadata generation.
- Deploy an rpm into the hosted repository
- Configure a staging profile to allow yum metadata generation, and to release into the hosted repository used in step 1
- Stage an rpm, then try to release it
This will fail with a message like this:
Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/repodata/repomd.xml'
This is a regression, in 2.10.0 the above scenario works without any problems.
In Nexus 2.11.1 if you try to release a staging repository that has yum metadata generation enabled it will fail if the target repository has a "repodata/repomd.xml" file in it already.