Hi Alexis,
you may try with
@parameter expression="${excludes}"
in the annotation of your array. I can't test it right now, but I
guess this should work.
Regards,
Ovidio
Alexis Midon wrote:
Hi all,
I'm currently writting a custom plugin, but I've got a problem with the
parameter settings.
Here is it:
My plugin declares a String array as follow:
/**
* The collection of exclude patterns to be applied on the
sourceDirectory
*
* @parameter
*/
protected String[] excludes;
In the pom file I add the following tag:
<execution>
...
<configuration>
...
<excludes>
<exclude>*.jar</exclude>
<exclude>**/.foo</exclude>
</excludes>
</configuration>
</execution>
Unfortunately the String array remains null :(
Where's the hell is the bug please?!
Thanks a lot for your help,
Alexis
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]