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 dependency scope? Name all the dependency scope.



What is the dependency scope? Name all the dependency scope...

Answer / Parmatma Prasad

The dependency scope in Apache Maven defines the lifecycle of a dependency, i.e., when Maven should download and manage it during the build process. The available dependency scopes are: compile, provided, runtime, test, and system. Compile dependencies are required for compilation and running tests. Provided dependencies are those that are expected to be provided by the environment (like junit for testing). Runtime dependencies are required only at runtime, not for compilation or testing. Test dependencies are required only for unit tests. System dependencies are external libraries that Maven can't download from a repository, so they need to be specified as system scopes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Maven Interview Questions

Why should one use maven?

1 Answers  


What do you mean by maven repository and its types?

1 Answers  


What is force maven update?

1 Answers  


What are the default values for the packaging element?

1 Answers  


What is the difference between a release version and snapshot version in maven?

1 Answers  


How is the propagation of plugins to child poms stopped?

1 Answers  


What are the repositories in maven?

1 Answers  


What is an archetype?

1 Answers  


Explain what is pom?

1 Answers  


Can you tell me the default location of your local repository?

1 Answers  


What is a goal in maven terminology?

1 Answers  


How do I determine which pom contains missing transitive dependency?

1 Answers  


Categories