[ 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