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
You can add to the plugin configuration to avoid inheritance in children POMs:
org.codehaus.mojo
buildnumber-maven-plugin
1.0-beta-3
false
...
Or, if your plugin has multiple executions, you can control which executions are inherited and which are not by adding the inherited tag to the execution body:
org.apache.maven.plugins
maven-antrun-plugin
parent-only
initialize
false
run
all-modules
initialize
true
run