Brian, We did not add any exclusion functionality, we have a cruisecontrol machine which is deploying snapshot artifacts to that repository roughly every 30 minutes, so we are not concerned about any files older than 7 days. I understand that this would be an issue for any repository that is not purely a snapshot repo.
Evan On 5/16/07, Brian E. Fox <[EMAIL PROTECTED]> wrote:
Where you able to tailor this to only delete files if it won't leave none? I think simply aging the files won't work, especially when we move to another version, we don't want to remove all versions, but just leave behind the last one. -----Original Message----- From: Evan Worley [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 1:53 PM To: Maven Developers List Subject: Re: Tool to clean snapshots from the repo Here is the original script that we tailored for our needs. http://lifehacker.com/software/geek-to-live/geek-to-live-hard-drive-jani tor-133190.php On 5/16/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > Hi Evan, > > If can publish it ... > > Thanks > > Damien > > 2007/5/11, Evan Worley <[EMAIL PROTECTED]>: > > HI Damien, > > > > While there might be a more elegant method, we used a scheduled task to > > delete all snapshot builds that were older than 7 days. We typically > build > > 10-20 snapshots a day for a given component. If you are interested in > this > > method, I can point you to the script that does the cleaning. > > > > Evan > > > > On 5/11/07, Damien Lecan <[EMAIL PROTECTED]> wrote: > > > > > > Any idea of how to remove old artifact snapshot ? > > > > > > Can repositorytools be useful for that ? > > > > > > Thanks > > > > > > Damien > > > > > > > Which goal specifically? I can only see: > > > > > > > > repositorytools:add-artifact > > > > repositorytools:add-plugin-group > > > > repositorytools:add-repository > > > > repositorytools:copy-artifact > > > > repositorytools:copy-repository > > > > repositorytools:deploy-bundle > > > > repositorytools:deploy-repository > > > > repositorytools:export-csv > > > > repositorytools:validate > > > > > > > > Mark > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]