Location of Maven repository in Windows & Linux


Location of Maven repository

Maven repository is a folder located in system that stores all project’s dependencies  such as jars, pom.xml, and other files which are downloaded by Maven.

Wheb user execute and mvn target, all dependency files will be stored in your Maven repository in local system.

By default, Maven local repository’s name is .m2

In Windows, Location of Maven repository is C:Users<<login user name>>.m2

In Linux Location of Maven repository is /root/.m2 (Go to root, Press ctrl+h to display hidden files)

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s