+
Cleaning destination
diff --git a/site/plugin.properties b/site/plugin.properties
index 6f9e8db3..37cdd894 100644
--- a/site/plugin.properties
+++ b/site/plugin.properties
@@ -35,3 +35,4 @@ maven.rsync.executable=rsync
maven.username=USERNAME_NOT_SET
maven.site.deploy.clean=false
+maven.site.publish.clean=false
diff --git a/site/xdocs/properties.xml b/site/xdocs/properties.xml
index f7309481..044d5b1c 100644
--- a/site/xdocs/properties.xml
+++ b/site/xdocs/properties.xml
@@ -55,10 +55,18 @@
| maven.site.deploy.clean |
Yes |
- This will ensure the target in either a site:deploy or site:publish goal is
+ This will ensure the target in a site:deploy goal is
clean by either deleting the directory first, or rsync'ing with the --delete option.
- This operation is not atomic, so is not recommended for the live site unless you are using the rsync
- method.
+ This operation is not atomic, so is not recommended for the live site unless you are using the rsync method.
+ |
+
+
+ | maven.site.publish.clean |
+ Yes |
+
+ This will ensure the target in a site:publish goal is
+ clean by either deleting the directory first, or rsync'ing with the --delete option.
+ This operation is not atomic, so is not recommended for the live site unless you are using the rsync method.
|