How Maven Dependency Works

Posted by Unknown On Monday 4 August 2014 9 comments
When we are building multiple module projects managing dependencies is a headache.Maven have dependency management mechanism  it will help us to download all required dependencies.


Example

we want to add Oracle JDBC driver to our project, In traditional way we want to follow these steps

  1. download oracle jdbc driver 
  2. copy .jar to class path
  3. include jar to project
note:-in traditional way for jar updates we want to download and add new one 

Maven we don't want to care about these things.. We just want to declare reference to oracle jdbc in pom.xml


<dependencies>
 
  <!-- ORACLE database driver -->
  <dependency>
   <groupId>com.oracle</groupId>
   <artifactId>ojdbc6</artifactId>
   <version>11.2.0</version>
  </dependency>
 
 </dependencies>

9 comments:

Uday said...

ExcelR helps every individual to grow in this competitive market, stand out with our Python Certification training in Hyderabad, Be a winner and boost your career growth with our intensive training python certification program

python certification

kirankumar said...

Excellent blog informative I liked it

Pressure Vessel Design Course is one of the courses offered by Sanjary Academy in Hyderabad. We have offer professional Engineering Course like Piping Design Course,QA/QC Course,document Controller course,pressure Vessel Design Course,Welding Inspector Course, Quality Management Course, Safety officer course.
best welding inspector course in India
best safety officer course
best quality management course in India
best welding inspector course in India
best welding inspector course near me
best safety officer course near me
best safety officer coursein hyderabad
best safety officer course in India
best quality management course

Admin said...

I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.
All University BCOM 1st, 2nd & 3rd Year TimeTable 2020

manisha said...

This is good information and really helpful for the people who need information about this.
Python Training in Delhi
Python Training institute in Delhi

Parul Pathak said...

This site helps to clear your all query. ddu ba 2nd year result
rdvv ba 3rd year result This is really worth reading. nice informative article.

Rian said...

virtual event Heavy content and long presentations that might be tolerated by a live audience are even more difficult for a remote audience to sit through. salad bar organizers, thank you for coming and invitation message for dinner

Laila Thakur said...

The information you have produced is so good and helpful, I will visit your website regularly.

Banasthali Vidhyapith time table

bilashpur university time table

सत्ता रिजल्ट said...

I am very impressed with your post because this post is very beneficial for me and provide a new knowledge to me

मत्ता रिजल्ट | कल्याण सट्टा मटका की परिभाषा | Kalyan Matka.

Lütfü said...

mardin
mersin
muğla
rize
sakarya
D0T

Post a Comment

Fashion