We have a multi-module maven project that uses a profile that defines a buildnumber-maven-plugin to increment a build number and then check it into source control.
I
As documented in the Plugins section of the pom reference:
Beyond the standard coordinate of groupId:artifactId:version, there are elements which configure the plugin or this builds interaction with it.
- inherited: true or false, whether or not this plugin configuration should apply to POMs which inherit from this one.
So just add to the buildnumber-maven-plugin configuration to avoid inheritance in children POMs:
org.codehaus.mojo
buildnumber-maven-plugin
1.0-beta-3
false
...