[ http://jira.codehaus.org/browse/MSITE-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256084#action_256084 ]
Lukas Theussl commented on MSITE-555: ------------------------------------- You can configure the clean plugin to include only taget/site, and run it from a profile. I don't think removing target/site is good enough for a generic clean goal because a lot of stuff is generated first somewhere else, eg generated sources, reports, etc, that also influence the site. > site:clean option to clear out target/site directories > ------------------------------------------------------ > > Key: MSITE-555 > URL: http://jira.codehaus.org/browse/MSITE-555 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: New Feature > Reporter: SebbASF > > It would be useful to have a simple method of cleaning out target/site > directories. > This would help when testing skins to ensure that the correct images etc are > installed, but would also help when rebuilding, as site:site skips some > rebuilds if the files already exist. > By default it should clear all the contents of each target/site, but it might > be useful to be able to exclude certain subdirectories (e.g. apidocs). -- 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