Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Issues to be reviewed for 3.x
-
Component/s: Inheritance and Interpolation
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
Per-execution inherited flag ignored. E.g.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>test</id>
<phase>initialize</phase>
<inherited>false</inherited>
...
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.
Maven 3 correctly supports per-execution inherited flags.