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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different ways to convert an inputstream to a sting?

208