[ 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