jenkinsci/maven-repo-cleaner-plugin — pull request #2 by ndeloof (2012-03-05 12:11:44+00:00)
Title: cleanup local repository after job completion

alternative to the already implemented cron-based cleanup
uses filesystem lastAccessTime to distinguish maven artifacts used during build from "legacy" ones. Only artifacts accessed during the build are kept in the local (private) repository, ensuring just-enough artifacts in the local cache