Is there a way to override configurations of the m2e lifecycle-mapping plugin in a child pom.xml? I have a parent pom.xml that I can't change. It contains the following xml:
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>some.group.id</groupId>
<artifactId>some-artifact-id</artifactId>
<versionRange>[1.x.x,</versionRange>
<goals>
<goal>someGoal</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
I want to override this behaviour in my project. I tried to put the same configuration in my pom.xml and replace <ignore/> with <execute/>, but that just results in a merged configuration containing <ignore/> and <execute/>.
Is there an other way I can try to get rid of this m2e lifecycle mapping?
project/build/pluginManagement/plugins/plugin. When I use Eclipse to open the "Effective POM" tab, I see the action node<action><execute /><ignore /></action>– lrxw Oct 2 '15 at 7:16project/build/plugins/plugininstead. This should override the plugin definition that is done in the pluginManagement section of the parent. – hotzst Oct 2 '15 at 7:42