Question

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

Was it helpful?

Solution

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."

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top