Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

m2e eclipse maven plugin depedency management

I have the m2e maven plugin installed on Eclipse (Kepler 64bit). I have created a new project using a archtype. I then open up POM file using the 'Maven POM Editor'. I then go to the dependencies tab. Here i see 2 panes. One of the left says 'Dependencies'. I use this to add new dependencies to my project (like logback, junit, etc).

The right pane says 'Dependency Management'. What is this pane for? What are its uses? Screenshot - maven dependency management

like image 453
Quest Monger Avatar asked Dec 11 '25 05:12

Quest Monger


1 Answers

Found answer here - http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Management

"The dependency management section is a mechanism for centralizing dependency information. When you have a set of projects that inherits a common parent it's possible to put all information about the dependency in the common POM and have simpler references to the artifacts in the child POMs."

like image 133
Quest Monger Avatar answered Dec 13 '25 09:12

Quest Monger