+1, I've thought this numerous times in the past.  This class may be
handy for the new component:

http://svn.codehaus.org/mojo/trunk/sandbox/apt-maven-plugin/src/main/java/org/codehaus/mojo/apt/LogUtils.java

Mark

On 05/04/2008, Jason van Zyl <[EMAIL PROTECTED]> wrote:
>
>  On 5-Apr-08, at 12:21 PM, Benjamin Bentmann wrote:
>
> >
> > > Could we make the AbstractMojo class more usefull by providing some
> > > commonly-used support methods ?
> > >
> >
> > +1 on the general idea to avoid copy&paste, -1 on the proposal to share
> code via AbstractMojo.
> >
> > For some reason, AbstractMojo is part of the uber JAR and as such updates
> to it would be bound to the current Maven version. Last but not least,
> prefering composition over inheritance is usually a better approach to share
> code among otherwise unrelated components.
> >
> > Having Plexus hanging around, it's seems natural to start up a component
> for this just like Vincent did with the maven-doxia-tools.
> >
> >
>
>  Exactly. Composition with component.
>
>
> >
> > Benjamin
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>  Thanks,
>
>  Jason
>
>  ----------------------------------------------------------
>  Jason van Zyl
>  Founder,  Apache Maven
>  jason at sonatype dot com
>  ----------------------------------------------------------
>
>  Selfish deeds are the shortest path to self destruction.
>
>  -- The Seven Samuari, Akira Kirosawa
>
>
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to