This summer I refactored all java docs to be compliant with JDK8. And for me it works. On build all this java doc errors does not pops up anymore.
I would try to avoid ignoring this kind of errors, better provide valid java docs. But I don't find any reference in the java docs to the org.springframework.core.io.DefaultResourceLoader file. May something is depending from the JDK version? Johannes ################################################# web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2015-10-08 13:45 GMT+02:00 Christoph Nenning <christoph.nenn...@lex-com.net> : > > From: Lukasz Lenart <lukaszlen...@apache.org> > > To: Struts Developers List <dev@struts.apache.org>, > > Date: 06.10.2015 20:25 > > Subject: Re: Build failed in Jenkins: Struts-JDK8-master #31 > > > > Any idea why it fails? > > > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-javadoc-plugin:2.8:jar (default-cli) on > > project struts2-portlet-plugin: MavenReportException: Error while > > creating archive: > > [ERROR] Exit code: 1 - javadoc: error - > > com.sun.tools.doclets.internal.toolkit.util.DocletAbortException: > > com.sun.tools.javac.code.Symbol$CompletionFailure: class file for > > org.springframework.core.io.DefaultResourceLoader not found > > > > > > At least I could reproduce the error: > > cd plugins/portlet > mvn clean javadoc:javadoc > > > Happens with jdk8 only. > When I do 'mvn package' no javadoc is generated and thus I did not get > this error before. > > > That may happen due to the new doclint option of javadoc: > > > http://docs.oracle.com/javase/8/docs/technotes/guides/javadoc/whatsnew-8.html > > In maven it should be possible to disable it with: > <additionalparam>-Xdoclint:none</additionalparam> > > > http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#additionalparam > > But I'm not able to get this working. > > The javadoc commandline logged by maven still did not include > -Xdoclint:none. > > > Regards, > Christoph > > This Email was scanned by Sophos Anti Virus >