- pluginManagement: is an element that is seen along
side plugins. Plugin Management contains plugin elements in much the same way,
except that rather than configuring plugin information for this particular
project build, it is intended to configure project builds that inherit from
this one. However, this only configures plugins that are actually referenced
within the plugins element in the children. The children have every right to
override pluginManagement definitions.
- dependencyManagement: If the dependency was defined
in the top-level pom‘s dependencyManagement element, the child project did not
have to explicitly list the version of the dependency. if the child project
did define a version, it would override the version listed in the top-level
POM’s dependencyManagement section. That is, the dependencyManagement version
is only used when the child does not declare a version directly.
Maven学习
原文:http://www.cnblogs.com/webundle/p/3552958.html