This SO answer has some nice tips about maintaining an internal maven repository, but it’s rather vague on the details.
In particular, the answer says
Configure Nexus to do the following for internal repos
- Delete old Snapshots on regular intervals
- Delete Snapshots on release
But I haven’t figured out how to do that. Where in nexus configuration can I make these changes?
That’s described in the Nexus book, “Managing Scheduled Tasks”.
Unfortunately it seems I cannot link directly to the description of the snapshot removal task. The section is called “Remove Snapshots from Repository”.