After all consideration.  I use Ron's advice and create a internal plugin
to clean it up.

-D


On Tue, Aug 19, 2014 at 6:06 AM, Ron Wheeler <rwhee...@artifact-software.com
> wrote:

> On 19/08/2014 1:49 AM, Barrie Treloar wrote:
>
>> What's wrong with just blowing away ~/.m2/repository ?
>>
>> If you have a local Maven Repository Manager it doesn't take very long to
>> reseed it.
>> (At least less time in aggregate than thinking of ways to prune snapshot
>> files in the repository correctly...)
>>
>>
> A few days ago, I suggested just blowing away the organization's
> sub-folder under .m2/repository.
> A bit more surgical. Would that work?
>
> If you have a corporate repo (and everyone should) it does not take long
> to repopulate your local repo.
>
> Probably a good idea to get rid of the entire local repo every year just
> get rid of old version that you will never need again.
> I don't need to carry a 7 year history of log4j on my hard drive.
>
>
> Ron
>
> --
> Ron Wheeler
> President
> Artifact Software Inc
> email: rwhee...@artifact-software.com
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to