What is a local repository in Maven?

Maven local repository is a folder in your local files system in which your project’s installation, dependency jars, plugins etc. are stored.

Default location of Maven local repository is .m2 folder. It can be located under following location on file system:

Windows – C:\Documents and Settings{ username}.m2
Unix/Linux/Mac – ~/.m2

Leave a Reply

Your email address will not be published. Required fields are marked *