[ http://jira.codehaus.org/browse/MNG-1886?page=all ]

Brett Porter updated MNG-1886:
------------------------------

    Fix Version: 2.1

> Need way to share code between report mojos and main build mojos
> ----------------------------------------------------------------
>
>          Key: MNG-1886
>          URL: http://jira.codehaus.org/browse/MNG-1886
>      Project: Maven 2
>         Type: Improvement

>   Components: Plugin API
>     Versions: 2.0.1
>     Reporter: Vincent Massol
>     Assignee: Brett Porter
>      Fix For: 2.1

>
>
> 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 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