Publish 4 timestamped snapshots to the same GAV into a hosted maven snapshot repository using Maven. Then ran a snapshot remover task against that repository with minimum count 2, and retention days 0.
The GAV maven-metadata.xml file is removed. The GA level file is not removed.
Attempting to access the file with either HEAD or GET requests results in a 404 response.
This causes subsequent builds that are trying to retrieve the snapshot to fail.
Retrieving the GA level maven-metadata.xml file triggers a rebuild, and the GAV level file is available afterwards.
It seems to me the bug here is that the GAV level file is removed? It should be left in place and marked as needing rebuild. This is what happens to the GA level file.
This is a regression introduced in 3.25.1