O'Reilly logo

Maven for Eclipse by Sanjay Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Other essential concepts

The other essential concepts of Maven are discussed in the following sections.

Repository

Maven repositories are accessible locations designed to store the artifacts that Maven builds produce. To be more precise, a repository is a location to store a project's artifacts that is designed to match the Maven coordinates.

A Maven repository can be one of the following types:

  • Local
  • Central
  • Remote

The local repository

A local repository is one that resides in the same machine where a Maven build runs. It is a .m2 folder located in the $USER_HOME directory of the user's machine. It is created when the mvn command is run for the very first time. However, to override the default location, open the settings.xml file if it exists; else, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required