Just a guess:
Maybe the getItems and setItems methods are not correct?
getItems should return items, and setItems should set items = labels ?
-Marshall Schor
On 9/22/2010 2:52 AM, Xavier D. wrote:
> I have written a multi-value plugin with parameter:
>
> /**
> * @required
> * @parameter
> */
> private String[] items;
>
> public String[] getItems(){}
> public void setItems(String[] labels) {}
>
> However, mvn reports an error that it is not configured
> (<items>VALUE</items>) whenever I try to specify the configuration as:
> <configuration>
> <items>
> <item>1</item>
> <item>2</item>
> <label>3</item>
> </items>
>
> or as:
>
> <items>
> <param>1</param>
> <param>2</param>
> <param>3</param>
> </items>
>
> Xavier
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]