The Problem
Our Nexus (v2.14) is managing several hosted but also a couple of proxy repositories. Inspecting a specific proxy snapshot repository, I can see that a handful of GAVs are in storage (the latest developments). There are multiple (timestamped) snapshot versions within the latest GAVs, some multiple weeks old. I want to get rid of older snapshot versions and free disk space.
The Question
I might be on an entirely wrong track, but I've tried running three different kind of jobs now in order to free some space, but none worked:
- Evict Unused Proxied Items From Repository Caches
- Remove Snapshots From Repository
- Remove Unused Snapshots From Repository
The latter two, I assume, aren't fit to work with proxied repositories (since they fail with the error "The repository with ID=XY is not valid for Snapshot Removal Task!").
The first one, for which I found documentation somewhere, is the job that should be used in my case, I think. I set it up so that it evicts all items that are older than 7 days. When I run the task, I expect to not find any snapshot versions that are older than 7 days in the "Browse Storage" view, but there are.
It's entirely possible that my expectations are wrong. But my questions stands nonetheless:
How do I remove old snapshot versions from a proxied snapshot repository in order to free disk space?
Thanks for the help!
PS: I have emptied the trash after running each job just in case, but no dice