[ 
http://jira.codehaus.org/browse/MCLEAN-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148154#action_148154
 ] 

Benjamin Bentmann commented on MCLEAN-38:
-----------------------------------------

Not sure whether we really need this extra complexity. With the fix for 
MCLEAN-33, one could simply exclude the default directories from cleaning and 
employ the {{filesets}} parameter instead which already provides 
includes/excludes.

Also, I am not in favor of specifying the includes/excludes all in one simple 
string given that these patterns are usually provided by means of a real 
collection. That is to say, the usage would become inconsistent IMHO.

Can you elaborate more on your specific use case?

> Allow a global set of include and exclude filters
> -------------------------------------------------
>
>                 Key: MCLEAN-38
>                 URL: http://jira.codehaus.org/browse/MCLEAN-38
>             Project: Maven 2.x Clean Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.2
>            Reporter: Nick Pellow
>         Attachments: MCLEAN-38-maven-clean-plugin.patch
>
>
> I am about to submit a patch to the maven-clean-plugin which will allow a 
> global includes and excludes patterns to be configured.
> Currently, it is not possibly to easily do a clean and have specific files in 
> the default output directories preserved.
> The patch will allow a comma separated list of exclusions and inclusions to 
> use when removing the default output directories.

-- 
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