码迷,mamicode.com
首页 > 编程语言 > 详细

eclipse maven Errors while generating javadoc on java8

时间:2017-06-01 14:43:18      阅读:236      评论:0      收藏:0      [点我收藏+]

标签:ade   ati   erp   base   str   bre   java8   ret   format   

With JDK 8, we are unable to get Javadoc unless your tool meets the standards of doclint. Some of its rules are:

no self-closed HTML tags, such as <br /> or <a id="x" />
no unclosed HTML tags, such as <ul> without matching </ul>
no invalid HTML end tags, such as </br>
no invalid HTML attributes, based on doclint‘s interpretation of W3C HTML 4.01
no duplicate HTML id attribute
no empty HTML href attribute
no incorrectly nested headers, such as class documentation must have <h3>, not <h4>
no invalid HTML tags, such as List<String> (where you forgot to escape using &lt;)
no broken @link references
no broken @param references, they must match the actual parameter name
no broken @throws references, the first word must be a class name

We don‘t get any output if it breaks any of the above rule. It throws errors.

We can turn off doclint by configuring the following propery for javadoc plugin

<additionalparam>-Xdoclint:none</additionalparam>

eclipse maven Errors while generating javadoc on java8

标签:ade   ati   erp   base   str   bre   java8   ret   format   

原文地址:http://www.cnblogs.com/zhjh256/p/6928542.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!