You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Prasad Kashyap (JIRA)" <ji...@codehaus.org> on 2006/02/22 17:15:35 UTC
[jira] Created: (MNG-2103) Inheritance of overrides that
of
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-2103) Inheritance of overrides that
of
Posted by "Prasad Kashyap (JIRA)" <ji...@codehaus.org>.
[ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-2103) Inheritance of overrides that
of
Posted by "Yann Le Du (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2103?page=comments#action_59235 ]
Yann Le Du commented on MNG-2103:
---------------------------------
Hmm... In this case, I would understand the <plugin><inherited>false as "don't inherit whatever is in <plugin> ". So, in modules, <executions> is not inherited and both <execution> don't even exist. What do you think ?
You can visualize that by running mvn help:effective-pom in parent project.
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-2103) Inheritance of overrides that
of
Posted by "Yann Le Du (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2103?page=all ]
Yann Le Du updated MNG-2103:
----------------------------
Attachment: test-inheritance-true.zip
> 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-true.zip, 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org