Would it be a good idea to only remove the unused snapshots for a specific dependency? Ex: before running jar:install-snapshot, I'd run jar:clean-snapshots and that would delete the old snapshots for that specific dependency. This would prevent cleaning dependencies that you'd like to maintain (like commons-jelly).
How's that sound? Ryan -----Original Message----- From: Martin Skopp [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 2:08 AM To: 'Maven Users List' Subject: RE: repository plugin clean feature On Fri, 2003-10-24 at 00:12, Brett Porter wrote: > Given that your remote repository is as clean as possible, cleaning the > local one is quite simple: delete it :) > > 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. Surely Ryan's idea can be simply done on commandline or external script.... but I have a similar problem and will find such a plugin useful - one could run the "remove_the_snapshot_trash" goal as a pregoal for "clean" or simply a "maven remove_the_snapshot_trash" whenever one like. I have a feature wish for the case you implement it, Ryan: It would be nice if one can configure a whitelist of groupIds which will be cleaned. For example, I don't want to "remove_the_snapshot_trash" from commons-jelly dir. -- Martin Skopp Riege Software International GmbH Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com This email is intended to be viewed with a nonproportional font. Public Key on http://www.keyserver.net, Key-ID: 3D4027B5 Fingerprint: 1970 C78D 9A1D 99FA 5CE4 5C0D 29E6 6A95 3D40 27B5 --------------------------------------------------------------------- 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]
