Where is Maven local repository?

maven

Solution

By default, Maven local repository is an .m2 folder :

- Unix/Mac OS X – ~/.m2

- Windows – C:\Documents and Settings\{your-username}\.m2

Problem

Where is Maven local repository? I want to remove the code and force maven to check out the latest version of the build through "Maven Update". I searched stackoverflow for "maven local" and did not find any straight forward answer.

Original source