Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 49064 invoked from network); 16 May 2007 20:53:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2007 20:53:53 -0000 Received: (qmail 83241 invoked by uid 500); 16 May 2007 20:53:55 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 83103 invoked by uid 500); 16 May 2007 20:53:54 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 83040 invoked by uid 99); 16 May 2007 20:53:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 13:53:54 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of evanworley@gmail.com designates 64.233.162.232 as permitted sender) Received: from [64.233.162.232] (HELO nz-out-0506.google.com) (64.233.162.232) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 13:53:46 -0700 Received: by nz-out-0506.google.com with SMTP id n29so401262nzf for ; Wed, 16 May 2007 13:53:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=D8EqwwJskCvQsxPygRFyLdQ2uFDJokfG4d/y2M2nxZZd6ul/0ZpEVS22ojzxkQzuPsU2i0LGL5p2hZA9tVrLUUH5ItsNTAo6LXhlt9bx8mGIxxA1WC3yLFyzdXEs0Tbzg4krFGbXfMR40mk7gNnYf6uzJZJsMCf17VOejx/3EfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=tJX/5g8pXxGeU6IkWhWgOcgQbz9XrTH+DS8VTiKDm8xrPgA282sDS4Y3vnvolGHiCatokHmaDGj9/auAZFZLUdUasyQNRhX2ThDzm+Se6d6nXqmYDTQz9e7AiS107wF8Yvx06H6jM1HP9lJ+iPN9lXhdnZ4gV91XJab0Pod22d4= Received: by 10.114.161.11 with SMTP id j11mr2492674wae.1179348805168; Wed, 16 May 2007 13:53:25 -0700 (PDT) Received: by 10.114.148.14 with HTTP; Wed, 16 May 2007 13:53:24 -0700 (PDT) Message-ID: <7b07da550705161353o1c3ddaaaw7c3d0f6c12b894e7@mail.gmail.com> Date: Wed, 16 May 2007 13:53:24 -0700 From: "Evan Worley" To: "Maven Developers List" Subject: Re: Tool to clean snapshots from the repo In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29466_10019241.1179348804885" References: <2BABBE7D2A66E04DB8A66A527D29927E25E2B1@intrepid.infinity.nu> <7b07da550705111107o4c82bdbdj2989c8dfd9d2ae3@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_29466_10019241.1179348804885 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Here is the original script that we tailored for our needs. http://lifehacker.com/software/geek-to-live/geek-to-live-hard-drive-janitor-133190.php On 5/16/07, Damien Lecan wrote: > > Hi Evan, > > If can publish it ... > > Thanks > > Damien > > 2007/5/11, Evan Worley : > > 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 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: dev-unsubscribe@maven.apache.org > > > > For additional commands, e-mail: dev-help@maven.apache.org > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > > For additional commands, e-mail: dev-help@maven.apache.org > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > > ------=_Part_29466_10019241.1179348804885--