What are the different types of repositories in Maven?

There are mainly two types of repositories in Maven:

  • Local Repository: This is your local folder in which a copy of your installation and dependencies is stored.
  • Remote Repository: This is a remote folder in which jars and other build artifacts are stored. These can be located on servers within your organization.
  • Central Remote Repository: This is the central Maven repository that is located on repo.maven.apache.org or uk.maven.org or any other third party location. This where we can find artifacts from different providers that are available for download and use. Like- Hibernate, Spring libraries etc.

Leave a Reply

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