You mean delete only the snapshots, right? Not "all but".

You should only put snapshots in the remote repository when you need to use
them elsewhere. Once they are used elsewhere, they can't be removed or some
other build (perhaps in CVS history) won't work.

Given that your remote repository is as clean as possible, cleaning the
local one is quite simple: delete it :)

This of course assumes you are working somewhere near your remote repo which
is cheap to download from. If you are at home over dialup this can be a
problem. I think the best way to clean in this case is to move your
repository to a new location, and add the file:// location to your list of
remotes. Once all your projects are building, your "local" one is clean so
you can remove the old one. This does take more space in the interim
though...

- Brett

> -----Original Message-----
> From: Sonnek, Ryan [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 24 October 2003 6:17 AM
> To: 'Maven Users List'
> Subject: repository plugin clean feature
> 
> 
> I'd like to get some feedback on an idea I have for the 
> repository plugin. In my development environment, I'm mainly 
> working with snapshot dependencies and applications.  As a 
> result, after several days of development, I'll end up with 
> my local repository at about 1GB in size (ears, ejbs, wars, 
> etc).  I think it would be a nice feature for the repository 
> plugin to delete all but the snapshot dependency from the 
> local (remote?) repository.  This would save me the 
> occasional headache of running out of disk space and having 
> to delete the snapshots (or the whole repository).
> 
> Any thoughts?  I'd be happy to help out with the cause if needed.
> 
> Ryan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to