On 9/4/07, Dejan Bosanac <[EMAIL PROTECTED]> wrote: > I think if we add a test to the 'find' command that filters files newer than > maven metadata xml file in activemq-parent folder (I think this one is > generated first in a build process) it would do a trick. > > Here's a test I've done on my local box and it seems to do what you need. > > find ~/.m2/repository/org/apache/activemq/ -type f -mtime +7 -not -newer > ~/.m2/repository/org/apache/activemq/activemq-parent/maven- > metadata-local.xml > > Cheers, > Dejan
Fantastic stuff! Patch applied! http://svn.apache.org/repos/asf/activemq/scripts/activemq-snapshots-clean.sh fingers crossed this will prevent us deleting the snapshots again; yet avoid us keeping tens of Gbs of snapshot builds... -- James ------- http://macstrac.blogspot.com/