Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How does maven look for a dependency or resource?



How does maven look for a dependency or resource?..

Answer / Manjeet Singh

Maven looks for dependencies and resources in two ways: by checking the local repository first, then moving to remote repositories listed in the settings.xml file if necessary. If there's a version conflict between artifacts with the same groupId, artifactId, and type, Maven uses the latest one available in its order of inheritance.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Maven Interview Questions

What do you mean by maven repository and its types?

1 Answers  


What are its advantages of uber jar?

1 Answers  


Where do we configure repositories in maven?

1 Answers  


What is a transitive dependency? Can we override transitive dependency version and if yes, how?

1 Answers  


How does maven looks for a dependency or resource?

1 Answers  


What is the use of optional dependency?

1 Answers  


What is the use of snapshot in maven?

1 Answers  


What phases does a site lifecycle consist of?

1 Answers  


Where are maven dependencies stored?

1 Answers  


Define snapshot in terms of maven.

1 Answers  


Mention the steps for installing maven on windows.

1 Answers  


Have you ever had problem getting your projects in eclipse refreshed after you made changes in the pom files?

1 Answers  


Categories