[ https://jira.codehaus.org/browse/MNG-3959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=319011#comment-319011 ]
Michael Osipov commented on MNG-3959: ------------------------------------- Sadly, I can confirm this on Maven 2.2.1. Maven 3.0.x works as expected. > Per-execution inherited flag ignored > ------------------------------------ > > Key: MNG-3959 > URL: https://jira.codehaus.org/browse/MNG-3959 > Project: Maven 2 & 3 > Issue Type: Bug > Components: Inheritance and Interpolation > Reporter: Dave Syer > Fix For: Issues to be reviewed for 3.x > > > Per-execution inherited flag ignored. E.g. > {code} > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-antrun-plugin</artifactId> > <executions> > <execution> > <id>test</id> > <phase>initialize</phase> > <inherited>false</inherited> > ... > {code} > If you move the inherited element up to the plugin level it works, but then > that applies to all executions, which isn't what is needed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira