I am trying to understand the inheritance behavior of plugins declared in the build/plugins section of a parent POM.
Specifically, if on POM A i declare a plugin in the build plugins section with a certain version & then on POM B which has POM A as parent i override the same plugin by declaring it again (with some configurations/executions, etc) in its own build plugins section BUT without specifying the plugin version.
In this case will POM B inherit the plugin version alone from the one declared in POM A or will it default to the latest version?
Also just to note again i am referring to the build/plugins NOT the pluginManagement section.
Thanks
The configuration of the plugins in POMs A and B will be merged.
You will inherit the version.