[ 
http://jira.codehaus.org/browse/MCLEAN-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed MCLEAN-44.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.1
         Assignee: Benjamin Bentmann

Fixed in [r942398|http://svn.apache.org/viewvc?view=revision&revision=942398].

> NullPointerException when using empty <exclude> to preserve base directory of 
> fileset
> -------------------------------------------------------------------------------------
>
>                 Key: MCLEAN-44
>                 URL: http://jira.codehaus.org/browse/MCLEAN-44
>             Project: Maven 2.x Clean Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>             Fix For: 2.4.1
>
>
> There was a bogus unit test in the plugin mentioning MCLEAN-7 which is about 
> cleaning a directory, i.e. removing all its contents but keeping the 
> directory itself. In essence, trying to configure the plugin to exclude the 
> base directory (path = "") via
> {code:xml}
> <fileset>
>   <directory>thedir</directory>
>   <includes>
>     <include>**</include>
>   </includes>
>   <excludes>
>     <exclude></exclude>
>   </excludes>
> </fileset>
> {code}
> yields a NPE from the code scanning the file system.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to