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

Paul Benedict updated MNG-1886:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 3.x)

> Need way to share code between report mojos and main build mojos
> ----------------------------------------------------------------
>
>                 Key: MNG-1886
>                 URL: https://jira.codehaus.org/browse/MNG-1886
>             Project: Maven
>          Issue Type: Improvement
>          Components: Plugin API
>    Affects Versions: 2.0.1
>            Reporter: Vincent Massol
>
> For example in the clover plugin i have both report mojos and main build 
> mojos. They need to share lots of configuration elements and common methods 
> but it's not easy to do so because each type needs to extend either 
> AbstractMavenReport or AbstractMojo. Of course I could not extend 
> AbstractMavenReport and instead implement the interface but then I'll have to 
> reimplement all its methods.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to