How does Maven looks for a resource ?
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers

 Q1. How does Maven looks for a resource ? Maven
Ans. It refers to the settings.xml to look for the repositories to look for the resource. First It looks into the configured local repository, then it looks into the configured Remote repositories. If the resource is still not found , it looks it within maven repository central i.e repo1.maven.org. If its still not found, it throws the exception saying "Unable to find resource in repository central".

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     maven   maven repository


Related Questions

  What is a transitive dependency ? Can we override Transitive Dependency version and If Yes, how ?
  What is a cyclic dependency ?
  Which of the following is dependency exclusion ?
  Which of the following is not a build tool or plugin ?

a. Maven
b. Ant
c. Gradle
d. svn
 How do you resolve Maven Dependencies issue while upgrading dependencies versions ?
  What is Maven's order of inheritance?
  What is a Mojo?
  Where do we configure repositories in Maven ?
  What are different type of repositories in Maven ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: