You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Petar Tahchiev <pa...@gmail.com> on 2007/01/09 16:42:46 UTC

Question about injecting properties in a Mojo

Hi gyus,

I have the following question: Is it possible to inject (instantiate a
property) in a mojo with some other technique, other than annotation?
I am asking because I have the following  problem:
I want in my mojo to call other mojo but since the other mojo doesn't
have a put method, but just a set one, I can't populate it's property.

Thanks.


-- 
Regards, Petar!
Karlovo, Bulgaria.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Question about injecting properties in a Mojo

Posted by Petar Tahchiev <pa...@gmail.com>.
On 09/01/07, Petar Tahchiev <pa...@gmail.com> wrote:
>
> Hi gyus,
>
> I have the following question: Is it possible to inject (instantiate a
> property) in a mojo with some other technique, other than annotation?
> I am asking because I have the following  problem:
> I want in my mojo to call other mojo but since the other mojo doesn't
> have a put method, but just a set one, I can't populate it's property.
>
> Thanks.
>
>
> --
> Regards, Petar!
> Karlovo, Bulgaria.


I even bewildered myself with this question :-). I meant that I want to call
another mojo which doesn't have set method - it has just a get method.



-- 
Regards, Petar!
Karlovo, Bulgaria.