No, settings is not an injectable (Plexus-)component. So you have to pass it on, for instance as a method argument.

thanks,
Robert


Op Tue, 03 Mar 2015 05:18:25 +0100 schreef Dan Tran <[email protected]>:

I have a component that requires access to Settings where it is available
at MOJO level via @Parameter(defaultValue = "${settings}", readonly = true)

So instead of have Mojo to pass the Settings to my plexus component method,


can my plexus component get Settings as an Injection?

any sample?

Thanks

-Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to