Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are the different types of Maven Repositories?
Home
Maven - Coalescing Pipeline
What are the different types of Maven Repositories?
0
votes
asked
Aug 30, 2023
in
Maven - Coalescing Pipeline
by
JackTerrance
What are the different types of Maven Repositories?
maven-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 30, 2023
by
JackTerrance
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.
...