maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <dant...@gmail.com>
Subject Re: Remove old snapshots under local repository
Date Tue, 19 Aug 2014 22:14:05 GMT
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 <rwheeler@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: rwheeler@artifact-software.com
> skype: ronaldmwheeler
> phone: 866-970-2435, ext 102
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message