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...


What is the use of optional dependency?



What is the use of optional dependency?..

Answer / Upendra Kumar

Optional dependencies are used when a feature or functionality in your project is not essential but can be helpful. If an optional dependency is present, Maven will not fail to build the project if it cannot find that dependency at runtime. This is useful for features that may not always be needed by all users of the project.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Maven Interview Questions

Mention the phases of cleaning lifecycle.

1 Answers  


What are the different phases of a maven build lifecycle?

1 Answers  


How to specify the sequence in which sub modules needs to be built?

1 Answers  


For POM what are the minimum required elements?

1 Answers  


What are the benefits of transitive dependency in maven?

1 Answers  


How do you force maven to copy dependencies into target/lib?

1 Answers  


List out the dependency scope in Maven?

1 Answers  


What phases does a site lifecycle consist of?

1 Answers  


Why Maven Plugins are used?

1 Answers  


What is a maven pom file?

1 Answers  


What is maven?

1 Answers  


What is the minimal set of information for matching dependency reference against a dependencymanagement section?

1 Answers  


Categories