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 would you do if you have to add a jar to the project using maven?



What would you do if you have to add a jar to the project using maven?..

Answer / Avanish Kumar

"To add a JAR to your Maven project, you can either download the JAR file manually and include it in the 'dependencies' section of the pom.xml file under 'system' scope or use a repository manager like Nexus or Artifactory to host the JAR and add its coordinates to the pom.xml file. The preferred method is to use a central Maven repository (like Maven Central) to download the required dependencies automatically."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Maven Interview Questions

What is an archetype in maven?

1 Answers  


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

1 Answers  


What do you mean by maven?

1 Answers  


What is maven build life cycle?

1 Answers  


How do you get source jars from maven repository?

1 Answers  


What are the different types of profile in maven? Where will you define these profiles?

1 Answers  


What is a mojo?

1 Answers  


What are the tasks which are performed by maven?

1 Answers  


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

1 Answers  


What is the pom packaging in maven?

1 Answers  


Where are maven dependencies stored?

1 Answers  


List the differences between ant and maven.

1 Answers  


Categories