[ http://jira.codehaus.org/browse/MNG-2103?page=comments#action_59250 ] 

Prasad Kashyap commented on MNG-2103:
-------------------------------------

I see what you mean. That makes sense only if the <plugin><inherited> is set to 
false.

Now flip the inheritance boolean at the <plugin> level to true. Going by the 
same logic, all executions now would be inherited even if they were 
individually set to false. Now since the value of <inherited> is true by 
default, all executions are always inherited and there's no way of overriding 
them.

I think this is what we should do. 

<plugin><inherited>  set to true by default.
<execution><inherited> overrides plugin's setting. 

if <plugin><inherited> changed to false, all executions inside it are also not 
inherited, no matter what their individual settings are.

> Inheritance of <plugin> overrides that of <execution>
> -----------------------------------------------------
>
>          Key: MNG-2103
>          URL: http://jira.codehaus.org/browse/MNG-2103
>      Project: Maven 2
>         Type: Bug

>     Reporter: Prasad Kashyap
>  Attachments: test-inheritance.zip
>
>
> The <inherited> settings of <plugin> overrides that of it's <execution>
> By convention, all top level configuration settings are usually overridden by 
> the settings in the lower levels.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to