I'm not sure about that.

But if I'm authoring it, I'd put it like:

/**
* default values are "option1" and "option2"
*
* @parameter
*/
private String[] options = new String[] { "option1", "option2" };





Tom Huybrechts wrote:
Hi all,

is it possible to define a default value for a mojo parameter that is
an array or collection ?

e.g.:

/**
* @parameter expression="option1,option2"
*/
private String[] options;

Tom

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



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

Reply via email to