title: How to clean Maven snapshots deployed on the server?
body: <p>On the snapshot server, Maven keeps all the generated snapshots. I want to clean all but the latest ones that are deployed on the server.</p>
  
  <p>How can I tell Maven to only keep the N latest snapshot versions and to remove the rest? </p>