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 types of Maven repository?
Home
Maven - Coalescing Pipeline
What types of Maven repository?
asked
Apr 7, 2021
in
Maven - Coalescing Pipeline
by
SakshiSharma
(
32.2k
points)
What types of Maven repository?
#maven-repository
maven-repo-types
maven
maven-interview-questions
maven-mcq-questions
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Apr 7, 2021
by
SakshiSharma
(
32.2k
points)
Maven repositories are of three types –
Local: Maven local repository is a folder location that is present on your machine. It is created when you run any maven command for the first time. Maven local repository is a location where you can find your project’s all dependencies (library jars, plugin jars etc).
Central: It is a repository provided by the Maven community. It contains a huge collection of commonly used libraries. When Maven does not find any dependency in local repository, it starts searching in central repository using the following URL:
http://repo1.maven.org/maven2/.
Remote: Sometimes, Maven is not able to find a mentioned dependency in the central repository as well then it stops the build process and an output error message is displayed on the console. To avoid such a situation, Maven provides the idea of Remote Repository which is nothing but the developer’s own custom repository containing required libraries or other project jars.
Related questions
0
votes
Q: What is a Maven Repository?
asked
Apr 7, 2021
in
Maven - Coalescing Pipeline
by
SakshiSharma
(
32.2k
points)
#maven-repo
repository
maven
maven-interview-questions
maven-mcq-questions
0
votes
Q: Tell me the command to install JAR file in local repository.
asked
Apr 7, 2021
in
Maven - Coalescing Pipeline
by
SakshiSharma
(
32.2k
points)
#jar-file
local-repository
maven
maven-interview-questions
maven-mcq-questions
0
votes
Q: Is there a particular sequence in which Maven searches for dependency libraries?
asked
Apr 7, 2021
in
Maven - Coalescing Pipeline
by
SakshiSharma
(
32.2k
points)
#maven-searches
dependency-libraries
maven-lib
maven
maven-interview-questions
maven-mcq-questions
0
votes
Q: What is a goal in Maven terminology?
asked
Apr 7, 2021
in
Maven - Coalescing Pipeline
by
SakshiSharma
(
32.2k
points)
#maven-terminology
maven
maven-interview-questions
maven-mcq-questions
0
votes
Q: What are the different phases of a Maven Build Lifecycle?
asked
Apr 7, 2021
in
Maven - Coalescing Pipeline
by
SakshiSharma
(
32.2k
points)
#maven-build-life-cycle
lifecycle-maven
maven
maven-interview-questions
maven-mcq-questions
0
votes
Q: What is the command to build your Maven site?
asked
Apr 6, 2021
in
Maven - Coalescing Pipeline
by
SakshiSharma
(
32.2k
points)
#maven-site
maven-command
maven
maven-interview-questions
maven-mcq-questions
0
votes
Q: What is the Maven Build lifecycle?
asked
Apr 6, 2021
in
Maven - Coalescing Pipeline
by
SakshiSharma
(
32.2k
points)
maven-build-lifecycle
maven-cycle
maven
maven-interview-questions
maven-mcq-questions
0
votes
Q: What does it mean when you say Maven uses Convention over Configuration?
asked
Apr 6, 2021
in
Maven - Coalescing Pipeline
by
SakshiSharma
(
32.2k
points)
#maven-configuration
maven-convention
maven
maven-interview-questions
maven-mcq-questions
...