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

Reply via email to