Hi Sasvata,
Can you paste:
a) relevant POM section
b) relevant Mojo code
on http://www.rafb.net/paste/ , and send links on the
mailing list and someone can have a look at it.
Your best bet would be to use Composition but that
would depend if a Mojo exposes getters/setters.
Cheers,
Rahul
----- Original Message -----
From: "Sasvata Chatterjee" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Thursday, January 19, 2006 8:31 AM
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]