Did you use the mojo archetype to create your mojo project?
mvn archetype:create \
-DgroupId=$topLevelPackage \
-DpackageName=$topLevelPackage \
-DartifactId=$dirName \
-DarchetypeArtifactId=maven-archetype-mojo
> -----Original Message-----
> From: Sasvata Chatterjee [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 18, 2006 2:32 PM
> To: Maven Users List
> Subject: Re: [m2] Mojo field injection problem extending abstract Mojo
> classes from another plugin/jar
>
> Could someone familiar with the plugin architecture please take a look
> at this and help me out?
>
> I am kind'a stuck, in the sense that I have to copy all the Mojo-s
> from the plugins I want to reuse to get it to work. I don't think
> that is the corret way, so either I am doing something wrong, or,
> something doesn't work as expected.
>
> Should I open a JIRA for this? Or, would a sample plugin that extends
> another plugin and demonstrates the problem help?
>
> Thanks,
> Shash
>
> On 1/15/06, Sasvata Chatterjee <[EMAIL PROTECTED]> wrote:
> > OK..one more email on this before I quit...I am stumped and stuck anyway
> :-(
> >
> > I tried putting an empty abstract class that inherits from the
> > abstract Mojo in another plugin, and then having my concrete Mojo
> > inherit from this new abstract class. I also tried extending my Mojo
> > from the concrete Mojo in another plugin. Nothing doing, the
> > parameters are simply not defined in the plugin.xml.
> >
> > So, how do I reuse/extend Mojos from other plugins?
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-----------------------------------------
Attention:
Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity. The
information contained in this message and or attachments is
intended only for the person or entity to which it is addressed and
may contain confidential and/or privileged material. If you
received this in error, please contact the sender and delete the
material from any system and destroy any copies.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]