[ https://issues.apache.org/jira/browse/WW-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598775#comment-14598775 ]
Raju Bairishetti commented on WW-4403: -------------------------------------- Hi [~rgielen], I hope this comment will be useful in fixing the issue. Adding *<additionalparam>-Xdoclint:none</additionalparam>* works only on jdk8 or higher than jdk8. Javadocs won't be generated with lower than jdk8 version i.e. it does not work with jdk7, jdk6 ... We need to add this a new profile to add the doclint for only jdk8 or higher than jdk8. Refer https://issues.apache.org/jira/browse/LENS-493?focusedCommentId=14589210&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14589210 > JDK 8: build fails due to JavaDoc checking issues > ------------------------------------------------- > > Key: WW-4403 > URL: https://issues.apache.org/jira/browse/WW-4403 > Project: Struts 2 > Issue Type: Bug > Components: Build Management > Affects Versions: 2.3.16.3 > Reporter: Rene Gielen > Labels: jdk8 > Fix For: 2.5 > > > JDK 8 introduced stricter checking for JavaDoc processing, causing issues > formerly producing warning messages to break the build. > Basically the fix is as easy as adding the following configuration to the > pluginManagement section: > {code:xml} > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-javadoc-plugin</artifactId> > <version>2.9.1</version> > <configuration> > <show>private</show> > <additionalparam>-Xdoclint:none</additionalparam> > </configuration> > </plugin> > {code} > To fix and close this issue, we need a testable build though which is > currently blocked by WW-4402 -- This message was sent by Atlassian JIRA (v6.3.4#6332)