配置跳过javadoc文档jar打包过程
都是基于javadoc3.0.0以上
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
或者
<configuration>
<additionalJOption>-Xdoclint:none</additionalJOption>
</configuration>
要忽略缺少的@param和@return标记,只需禁用missing doclint组即可。这样,仍将检查javadoc是否存在更高级别和语法问题:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
maven-javadoc-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<doclint>all,-missing</doclint>
</configuration>
</plugin>
<groupId>org.apache.maven.plugins</groupId>
maven-javadoc-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<doclint>all,-missing</doclint>
</configuration>
</plugin>