How to override parent properties of a Maven 3.0 plugin from a child pump

I have a maven-war-plugin in parent.pom since I set the manifestFile property, but for one of my military operations I need to exclude the manifest file under my META-INF.

I added my leader configuration in child pom, but it doesn't work

+4
source share
1 answer

The configurations of the child plugins override the configuration of the parent plugins, but if the configuration is performed on the parent plugin and not on the plugin itself, you can only redefine it in the corresponding execution of the child element. You do this by creating execution for the child with the same identifier as the parent. If this is unclear, try posting the appropriate configuration and we can give a more complete explanation. My answer to a similar question may help you understand.

+8
source