Hi Leandro,
If you are trying to act interractivly with the user, just import a Prompter
(from plexus-interactivity)
/**
* @component
*/
Prompter prompter;
in your mojo.
Hope this helps.
Raphaël
2007/2/8, Maria Odea Ching <[EMAIL PROTECTED]>:
Hi Leandro,
Are you talking about passing input parameters from the command line
when you eexcute your plugin?
If this is the case, you can put the @parameter tag in your mojo:
/**
* @parameter expression="${parameterName}" default-value="false"
*/
private boolean parameterName;
To set the value from command line, use the -DparameterName=<put the
value here>
Hope this helps! :-)
Thanks,
Deng
Leandro Saad wrote:
> Hi all. I´m trying to create my first Maven plugin. This plugin is
> intended
> for Guara users to bootstrap the aplication, scaffonding, etc.
> How can I read input from console from Maven? I couldn´t find any
> references
> on the docs/google.
>
> Cheers.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]