Cleaning Maven m2e .cache directory - Stack Overflow
In contrast to the other answers, make sure to keep .m2/*.xml
(your settings) and .m2/repository
(not strictly necessary to keep, but Maven will have to download half the Internet again).
Now, as for that .cache
folder: if you open Eclipse, M2Eclipse will sometimes run a job akin to "Downloading repository indexes". These indexes allow you to quickly find an artifact using M2E's "Add dependency" wizard if you only know (part of) its artifact id. It needs to put the downloaded index files somewhere, and according to http://dev.eclipse.org/mhonarc/lists/m2e-users/msg02486.html the .cache
folder is where they go:
Read full article from Cleaning Maven m2e .cache directory - Stack Overflow
No comments:
Post a Comment