You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2013/03/02 13:46:53 UTC

[jira] (MPLUGIN-56) Inter-plugin Mojo inheritance

     [ https://jira.codehaus.org/browse/MPLUGIN-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MPLUGIN-56.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

Let's mark this as {{fixed}}. The annotations-solution is much cleaner than adding the sources. Annotations are supported since 3.0
                
> Inter-plugin Mojo inheritance
> -----------------------------
>
>                 Key: MPLUGIN-56
>                 URL: https://jira.codehaus.org/browse/MPLUGIN-56
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Improvement
>            Reporter: Kohsuke Kawaguchi
>            Assignee: Robert Scholte
>             Fix For: 3.0
>
>
> It's often desirable to create a new mojo by extending an existing mojo and changing its behavior. For example, one might imagine a NetBeans plugin packager that extends from JarMojo and adds extra stuff into the jar.
> Today, if I extends a mojo from another plugin, the plugin:descriptor goal fails to create a proper META-INF/maven/plugin.xml --- it doesn't list any of the injections that need to happen for the base class.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira