Affects Version/s: 2.7
Fix Version/s: 2.8
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.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|150d 4h 25m||1||Hervé Boutemy||01/May/11 18:20|
|Workflow||jira [ 12959999 ]||Default workflow, editable Closed status [ 12996919 ]|
|Project Import||Mon Apr 06 00:11:46 UTC 2015 [ 1428279106587 ]|
|Flags||Patch [ 10430 ]|
|Patch Submitted||Yes [ 10763 ]|
|Workflow||jira [ 12722537 ]||Default workflow, editable Closed status [ 12762368 ]|
|Project Import||Sun Apr 05 11:56:47 UTC 2015 [ 1428235007093 ]|
|Fix Version/s||2.8 [ 16433 ]|
|Resolution||Fixed [ 1 ]|
|Assignee||Herve Boutemy [ hboutemy ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Field||Original Value||New Value|
|Attachment||MJAVADOC-304_IT_Test.patch [ 52490 ]|
|Attachment||MJAVADOC-304_Patch.patch [ 52491 ]|