You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sebastian Annies (JIRA)" <ji...@codehaus.org> on 2010/12/02 19:55:03 UTC
[jira] Created: (MJAVADOC-304) failOnError is ignored if
javadoc:javadoc is called via Site Plugin 3.0-beta
failOnError is ignored if javadoc:javadoc is called via Site Plugin 3.0-beta
----------------------------------------------------------------------------
Key: MJAVADOC-304
URL: http://jira.codehaus.org/browse/MJAVADOC-304
Project: Maven 2.x Javadoc Plugin
Issue Type: Bug
Affects Versions: 2.7
Reporter: Sebastian Annies
{{failOnError}} works for the case that javadoc:jar is executed. This invocation calls {{execute()}} and then {{generate(sink, locale)}}. The generate is surrounded with a try/catch-block catching any exception thrown by the javadoc generation. In case of {{failOnError==false}} the exception does not interrupt the build. That perfectly ok!
{{failOnError}} does not work if it is called during site generation. During site generation only {{generate(sink, locale}} is called which misses the try/catch guard for failures during generation of javadoc.
Effectively you cannot ignore failures during site generation.
--
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: (MJAVADOC-304) failOnError is ignored if
javadoc:javadoc is called via Site Plugin 3.0-beta
Posted by "Felix Simmendinger (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258509#action_258509 ]
Felix Simmendinger commented on MJAVADOC-304:
---------------------------------------------
This bug is very nasty since you have to configure your release plugin to use preparationGoals "clean install" otherwise thirdparty javadoc references will fail the build as those dependencies aren't present in the classpath of javadoc.
> failOnError is ignored if javadoc:javadoc is called via Site Plugin 3.0-beta
> ----------------------------------------------------------------------------
>
> Key: MJAVADOC-304
> URL: http://jira.codehaus.org/browse/MJAVADOC-304
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.7
> Reporter: Sebastian Annies
> Attachments: MJAVADOC-304_IT_Test.patch, MJAVADOC-304_Patch.patch
>
>
> {{failOnError}} works for the case that javadoc:jar is executed. This invocation calls {{execute()}} and then {{generate(sink, locale)}}. The generate is surrounded with a try/catch-block catching any exception thrown by the javadoc generation. In case of {{failOnError==false}} the exception does not interrupt the build. That perfectly ok!
> {{failOnError}} does not work if it is called during site generation. During site generation only {{generate(sink, locale}} is called which misses the try/catch guard for failures during generation of javadoc.
> Effectively you cannot ignore failures during site generation.
--
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: (MJAVADOC-304) failOnError is ignored if
javadoc:javadoc is called via Site Plugin 3.0-beta
Posted by "Sebastian Annies (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Annies updated MJAVADOC-304:
--------------------------------------
Attachment: MJAVADOC-304_Patch.patch
MJAVADOC-304_IT_Test.patch
Integration Test (IT Test) and Patch.
> failOnError is ignored if javadoc:javadoc is called via Site Plugin 3.0-beta
> ----------------------------------------------------------------------------
>
> Key: MJAVADOC-304
> URL: http://jira.codehaus.org/browse/MJAVADOC-304
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.7
> Reporter: Sebastian Annies
> Attachments: MJAVADOC-304_IT_Test.patch, MJAVADOC-304_Patch.patch
>
>
> {{failOnError}} works for the case that javadoc:jar is executed. This invocation calls {{execute()}} and then {{generate(sink, locale)}}. The generate is surrounded with a try/catch-block catching any exception thrown by the javadoc generation. In case of {{failOnError==false}} the exception does not interrupt the build. That perfectly ok!
> {{failOnError}} does not work if it is called during site generation. During site generation only {{generate(sink, locale}} is called which misses the try/catch guard for failures during generation of javadoc.
> Effectively you cannot ignore failures during site generation.
--
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: (MJAVADOC-304) failOnError is ignored if
javadoc:javadoc is called via Site Plugin 3.0-beta
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy closed MJAVADOC-304.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.8
Assignee: Herve Boutemy
fixed in [r1098423|http://svn.apache.org/viewvc?rev=1098423&view=rev]
> failOnError is ignored if javadoc:javadoc is called via Site Plugin 3.0-beta
> ----------------------------------------------------------------------------
>
> Key: MJAVADOC-304
> URL: http://jira.codehaus.org/browse/MJAVADOC-304
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.7
> Reporter: Sebastian Annies
> Assignee: Herve Boutemy
> Fix For: 2.8
>
> Attachments: MJAVADOC-304_IT_Test.patch, MJAVADOC-304_Patch.patch
>
>
> {{failOnError}} works for the case that javadoc:jar is executed. This invocation calls {{execute()}} and then {{generate(sink, locale)}}. The generate is surrounded with a try/catch-block catching any exception thrown by the javadoc generation. In case of {{failOnError==false}} the exception does not interrupt the build. That perfectly ok!
> {{failOnError}} does not work if it is called during site generation. During site generation only {{generate(sink, locale}} is called which misses the try/catch guard for failures during generation of javadoc.
> Effectively you cannot ignore failures during site generation.
--
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