if you're talking about m2, then it's simple enough (I'm assuming you're
working on the plugin, not using it?):
for each parameter you want to provide command-line support, make it
look like this:
/**
* @parameter expression="${param}" ...
* ...
*/
private String param;
The 'expression="${..}"' part is the important bit. This will allow
searching for this parameter in the system properties, which are then
specified as:
-Dparam=somevalue
on the command line.
HTH,
John
Philip Mark Donaghy wrote:
I am looking at a project, Andromda, that uses maven plugins to generate
skeleton apps. During this process it(or maven) asks you some questions much
like the maven project generators. I would like to provide answers to these
questions on the command line. Any clues of how this is done would be helpful.
---------------------------------
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays,
whatever.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]