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]