Good day to you, Mark,

Nice. Thanks for the link :-) Hmm..maybe I should try digging up plexus in
the future to understan that better :-)

Cheers,
Franz


Mark Hobson wrote:
> 
> On 10/11/06, franz see <[EMAIL PROTECTED]> wrote:
>> Good day to you, Mark,
>>
>> Curious, which docs are you referring to?
> 
> I was looking at:
> 
> http://maven.apache.org/developers/mojo-api-specification.html#The
> Descriptor and Annotations
> 
> See the third table in that section, the @component annotation:
> 
> "Similar to @parameter
> expression="${component.yourpackage.YourComponentClass}""
> 
>> AFAIK, @components and @parameter take their values from different
>> "sources".
>>
>> "@component" mojo parameters are injected values which comes from the
>> component.xml (or some other plexus component configuration).
>>
>> while
>>
>> "@parameter" mojo paramaters are injected values which comes from the
>> properites.
>>
>> Correct me if im wrong though. I have limited knowledge with Plexus.
> 
> Sounds right if they do indeed come from different sources, although
> which components get put into the expression properties?  Maybe a dev
> could advise when the different syntaxes should be used.
> 
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/MavenProjectBuilder-injection-in-a-Mojo-tf2607549s177.html#a7288558
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to