You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "SebbASF (JIRA)" <ji...@codehaus.org> on 2011/02/14 14:53:22 UTC

[jira] Created: (MSITE-555) site:clean option to clear out target/site directories

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

        

[jira] Commented: (MSITE-555) site:clean option to clear out target/site directories

Posted by "SebbASF (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256063#action_256063 ] 

SebbASF commented on MSITE-555:
-------------------------------

Because the clean plugin clears out all the classes etc, which are then rebuilt by default when running mvn site.

This can waste a lot of time.

> 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

        

[jira] Commented: (MSITE-555) site:clean option to clear out target/site directories

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256037#action_256037 ] 

Lukas Theussl commented on MSITE-555:
-------------------------------------

Why not use the clean plugin?

> 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

        

[jira] Commented: (MSITE-555) site:clean option to clear out target/site directories

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Commented: (MSITE-555) site:clean option to clear out target/site directories

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256380#action_256380 ] 

Lukas Theussl commented on MSITE-555:
-------------------------------------

Why not use the clean plugin? :)

> 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

        

[jira] Commented: (MSITE-555) site:clean option to clear out target/site directories

Posted by "SebbASF (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256120#action_256120 ] 

SebbASF commented on MSITE-555:
-------------------------------

In that case, it would be all the more useful to have a clean option to take care of all these additional directories.

> 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