0 votes
in Maven - Coalescing Pipeline by
What are the different types of Maven Repositories?

1 Answer

0 votes
by

There are three types of Maven repositories:

1. Local Repository: 

  • Local repository refers to the machine of the developer where all the project material is saved.
  • The local repository contains all the dependency jars.

2. Remote Repository:

  • The remote repository refers to the repository present on a server that is used when Maven needs to download dependencies.
  • Whenever anything is required from the remote repository, it is first downloaded to the local repository, and then it is used.

3. Central Repository:

  • Central repository refers to the Maven community that comes into action when there is a need for dependencies, and those dependencies cannot be found in the local repository.
  • Maven downloads the dependencies from here in the local repository whenever needed.

Related questions

0 votes
asked Aug 20, 2023 in Maven - Coalescing Pipeline by GeorgeBell
0 votes
asked Aug 30, 2023 in Maven - Coalescing Pipeline by JackTerrance
...