>Then I'm not seeing what purpose the dependencyManagement section  
>serves if I've still gotta declare pretty much everything apart from  
>'version' in other dependency declarations?

The group/artifact/classifier/type are part of the identifier and those
must match. The scope and version can be centrally controlled in the
depMgt section and this saves you from having potentially conflicting
versions in multiple modules. It also makes it easier to upgrade later.
Additionally, depMgt will also override any transitive dependency
versions (even if you don't directly use them) so it's a way to manage
those as well.


----------------------
Brian Fox
Apache Maven PMC
http://blogs.sonatype.com/brian/




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to