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

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

bq. It also allows other plugins (this is my use case), which are bound to the 
pre-clean phase to set this property on the project to avoid specific files 
being deleted when clean is run.
Out of curiosity, could you give some more details on this? For instance, what 
generated the files to exclude, your plugin or something else? If the files 
should be excluded from cleaning, why aren't they put somewhere else? How can 
they ever be deleted by Maven or isn't that intended?

> 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