Maven学习

  1. 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.
  2. 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.
  3. maven-dependency-plugin
  4. maven-resources-plugin
  5. maven-compiler-plugin
  6. lifecycle-mapping

posted on 2014-02-17 17:42  sgano1  阅读(203)  评论(0编辑  收藏  举报

导航