Plugin Management
This lesson talks about the pluginManagement element that can be used to consolidate plugin versions across child projects.
We'll cover the following...
We'll cover the following...
We have already covered <dependencyManagement>
and how it can be used to factor out common dependencies and their associated versions in one place. The <pluginManagement>
tag offers similar functionality from the perspective of plugins. Consider the following setup that consists of a parent-POM project from which a child project inherits:
The parent POM file has the exec-maven-plugin
configuration from the previous lesson, but it is wrapped inside the <pluginManagement>
...