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: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to