You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Shinobu Kawai Yoshida (JIRA)" <ji...@codehaus.org> on 2006/03/31 21:28:44 UTC
[jira] Created: (MPSITE-50) a way to ignore report failures
a way to ignore report failures
-------------------------------
Key: MPSITE-50
URL: http://jira.codehaus.org/browse/MPSITE-50
Project: maven-site-plugin
Type: Wish
Components: plugin
Versions: 1.6.1
Reporter: Shinobu Kawai Yoshida
Priority: Minor
It would be great if there was a way to ignore report failures. Something like a proprety called "maven.site.reports.failonerror".
--
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] Reopened: (MPSITE-50) a way to ignore report failures
Posted by "Shinobu Kawai Yoshida (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSITE-50?page=all ]
Shinobu Kawai Yoshida reopened MPSITE-50:
-----------------------------------------
I was thinking more along the lines of using the jelly:catch tag, and swallowing the BuildException (or whatever gets thrown).
> a way to ignore report failures
> -------------------------------
>
> Key: MPSITE-50
> URL: http://jira.codehaus.org/browse/MPSITE-50
> Project: maven-site-plugin
> Type: Wish
> Components: plugin
> Versions: 1.6.1
> Reporter: Shinobu Kawai Yoshida
> Assignee: Lukas Theussl
> Priority: Minor
>
>
> It would be great if there was a way to ignore report failures. Something like a proprety called "maven.site.reports.failonerror".
--
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: (MPSITE-50) a way to ignore report failures
Posted by "Shinobu Kawai Yoshida (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSITE-50?page=comments#action_62892 ]
Shinobu Kawai Yoshida commented on MPSITE-50:
---------------------------------------------
>> What will happen if you set eg maven.checkstyle.fail.on.violation=true but maven.site.reports.failonerror=false?
Haven't tried, but the checkstyle report will fail, but the site generation should continue. (The checkstyle report should become a broken link.)
The Use Case for this issue is when I don't need all of the reports to succeed before the site gets generated/deployed. For example, even if the source violated checkstyle, I still want to see my javadoc. As you commented earlier, not all plugins support don't-fail-on-error options.
> a way to ignore report failures
> -------------------------------
>
> Key: MPSITE-50
> URL: http://jira.codehaus.org/browse/MPSITE-50
> Project: maven-site-plugin
> Type: Wish
> Components: plugin
> Versions: 1.6.1
> Reporter: Shinobu Kawai Yoshida
> Assignee: Lukas Theussl
> Priority: Minor
> Attachments: MPSITE-50-with-xdocs.patch, MPSITE-50.patch, MPSITE-50.patch
>
>
> It would be great if there was a way to ignore report failures. Something like a proprety called "maven.site.reports.failonerror".
--
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] Closed: (MPSITE-50) a way to ignore report failures
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSITE-50?page=all ]
Lukas Theussl closed MPSITE-50:
-------------------------------
Resolution: Fixed
Fix Version: 1.7
Patch applied with slight modifications. I renamed the property to maven.site.reports.ignoreErrors which appeared more logical
(eg the build did not fail with maven.checkstyle.fail.on.violation=false but maven.site.reports.failonerror=true). Thanks!
> a way to ignore report failures
> -------------------------------
>
> Key: MPSITE-50
> URL: http://jira.codehaus.org/browse/MPSITE-50
> Project: maven-site-plugin
> Type: Wish
> Components: plugin
> Versions: 1.6.1
> Reporter: Shinobu Kawai
> Assignee: Lukas Theussl
> Priority: Minor
> Fix For: 1.7
> Attachments: MPSITE-50-with-xdocs.patch, MPSITE-50.patch, MPSITE-50.patch
>
>
> It would be great if there was a way to ignore report failures. Something like a proprety called "maven.site.reports.failonerror".
--
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] Updated: (MPSITE-50) a way to ignore report failures
Posted by "Shinobu Kawai Yoshida (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSITE-50?page=all ]
Shinobu Kawai Yoshida updated MPSITE-50:
----------------------------------------
Attachment: MPSITE-50.patch
> a way to ignore report failures
> -------------------------------
>
> Key: MPSITE-50
> URL: http://jira.codehaus.org/browse/MPSITE-50
> Project: maven-site-plugin
> Type: Wish
> Components: plugin
> Versions: 1.6.1
> Reporter: Shinobu Kawai Yoshida
> Assignee: Lukas Theussl
> Priority: Minor
> Attachments: MPSITE-50.patch, MPSITE-50.patch
>
>
> It would be great if there was a way to ignore report failures. Something like a proprety called "maven.site.reports.failonerror".
--
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: (MPSITE-50) a way to ignore report failures
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSITE-50?page=comments#action_62767 ]
Lukas Theussl commented on MPSITE-50:
-------------------------------------
Can you provide a patch for the docs as well?
What will happen if you set eg maven.checkstyle.fail.on.violation=true but maven.site.reports.failonerror=false?
> a way to ignore report failures
> -------------------------------
>
> Key: MPSITE-50
> URL: http://jira.codehaus.org/browse/MPSITE-50
> Project: maven-site-plugin
> Type: Wish
> Components: plugin
> Versions: 1.6.1
> Reporter: Shinobu Kawai Yoshida
> Assignee: Lukas Theussl
> Priority: Minor
> Attachments: MPSITE-50.patch, MPSITE-50.patch
>
>
> It would be great if there was a way to ignore report failures. Something like a proprety called "maven.site.reports.failonerror".
--
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] Updated: (MPSITE-50) a way to ignore report failures
Posted by "Shinobu Kawai Yoshida (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSITE-50?page=all ]
Shinobu Kawai Yoshida updated MPSITE-50:
----------------------------------------
Attachment: MPSITE-50-with-xdocs.patch
> a way to ignore report failures
> -------------------------------
>
> Key: MPSITE-50
> URL: http://jira.codehaus.org/browse/MPSITE-50
> Project: maven-site-plugin
> Type: Wish
> Components: plugin
> Versions: 1.6.1
> Reporter: Shinobu Kawai Yoshida
> Assignee: Lukas Theussl
> Priority: Minor
> Attachments: MPSITE-50-with-xdocs.patch, MPSITE-50.patch, MPSITE-50.patch
>
>
> It would be great if there was a way to ignore report failures. Something like a proprety called "maven.site.reports.failonerror".
--
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] Updated: (MPSITE-50) a way to ignore report failures
Posted by "Shinobu Kawai Yoshida (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSITE-50?page=all ]
Shinobu Kawai Yoshida updated MPSITE-50:
----------------------------------------
Attachment: MPSITE-50.patch
> a way to ignore report failures
> -------------------------------
>
> Key: MPSITE-50
> URL: http://jira.codehaus.org/browse/MPSITE-50
> Project: maven-site-plugin
> Type: Wish
> Components: plugin
> Versions: 1.6.1
> Reporter: Shinobu Kawai Yoshida
> Assignee: Lukas Theussl
> Priority: Minor
> Attachments: MPSITE-50.patch
>
>
> It would be great if there was a way to ignore report failures. Something like a proprety called "maven.site.reports.failonerror".
--
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] Closed: (MPSITE-50) a way to ignore report failures
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSITE-50?page=all ]
Lukas Theussl closed MPSITE-50:
-------------------------------
Assign To: Lukas Theussl
Resolution: Won't Fix
This can only be implemented in the corresponding reports, eg the pmd plugin has a maven.pmd.failonerror property, checkstyle has maven.checkstyle.fail.on.violation, etc.
> a way to ignore report failures
> -------------------------------
>
> Key: MPSITE-50
> URL: http://jira.codehaus.org/browse/MPSITE-50
> Project: maven-site-plugin
> Type: Wish
> Components: plugin
> Versions: 1.6.1
> Reporter: Shinobu Kawai Yoshida
> Assignee: Lukas Theussl
> Priority: Minor
>
>
> It would be great if there was a way to ignore report failures. Something like a proprety called "maven.site.reports.failonerror".
--
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