From 8d52944219ce1d41e9cddcf34af60a1ea9853061 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Thu, 6 Apr 2006 17:04:14 +0000 Subject: [PATCH] PR: MPSITE-50 Submitted by: Shinobu Kawai New property maven.site.reports.ignoreErrors to ignore any errors in all reports during site generation. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@392015 13f79535-47bb-0310-9956-ffa450edef68 --- site/plugin.jelly | 16 +++++++++++++++- site/plugin.properties | 1 + site/xdocs/changes.xml | 1 + site/xdocs/properties.xml | 13 +++++++++++++ 4 files changed, 30 insertions(+), 1 deletion(-) diff --git a/site/plugin.jelly b/site/plugin.jelly index 16d68e6f..1353774c 100644 --- a/site/plugin.jelly +++ b/site/plugin.jelly @@ -47,7 +47,21 @@ Generating the ${report.get('name')}... - + + + + + + + + + + + *** WARNING: Error ignored: ${ex} + + + + diff --git a/site/plugin.properties b/site/plugin.properties index 392a4258..cc2f699f 100644 --- a/site/plugin.properties +++ b/site/plugin.properties @@ -33,6 +33,7 @@ maven.site.gunzip.options=-fn maven.site.chmod.options=-Rf maven.site.chmod.mode=775 maven.site.failonerror=true +maven.site.reports.ignoreErrors=false maven.rsync.executable=rsync diff --git a/site/xdocs/changes.xml b/site/xdocs/changes.xml index be9c5c97..22ae6248 100644 --- a/site/xdocs/changes.xml +++ b/site/xdocs/changes.xml @@ -23,6 +23,7 @@ + New property maven.site.reports.ignoreErrors to ignore any errors in all reports during site generation. New property maven.site.gunzip.options can be used to set options when using gunzip (default value is -f). Missing maven.ssh.args in site:publish. Deploy site on unix create rights rwxr-xr-x. Group members can't override files. The default value for maven.site.chmod.mode is now 755. diff --git a/site/xdocs/properties.xml b/site/xdocs/properties.xml index 9bdd64d4..f6bdc02b 100644 --- a/site/xdocs/properties.xml +++ b/site/xdocs/properties.xml @@ -190,6 +190,19 @@ Defaults to true. + + maven.site.reports.ignoreErrors + Yes + + Set this to true to ignore any errors + in all reports during site generation. + Note that this overrides all + corresponding settings of the plugins used + to generate the reports and + might lead to broken links on your site. + Defaults to false. + +