Return-Path: X-Original-To: apmail-struts-dev-archive@www.apache.org Delivered-To: apmail-struts-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0499618180 for ; Thu, 8 Oct 2015 12:54:07 +0000 (UTC) Received: (qmail 90646 invoked by uid 500); 8 Oct 2015 12:54:01 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 90599 invoked by uid 500); 8 Oct 2015 12:54:01 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 90588 invoked by uid 99); 8 Oct 2015 12:54:01 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Oct 2015 12:54:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1019EC4B6D for ; Thu, 8 Oct 2015 12:54:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.99 X-Spam-Level: *** X-Spam-Status: No, score=3.99 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id uaulRiPzlEtO for ; Thu, 8 Oct 2015 12:53:45 +0000 (UTC) Received: from iron2.lex-com.net (smtp5.lex-com.net [193.159.191.10]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 020CB2827E for ; Thu, 8 Oct 2015 12:53:44 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.17,654,1437429600"; d="scan'208";a="42564011" Received: from unknown (HELO mucle03.lex-com.net) ([10.89.20.108]) by iron2.lex-com.net with ESMTP; 08 Oct 2015 14:53:44 +0200 In-Reply-To: References: <989239423.6455.1441910141223.JavaMail.jenkins@crius> <375256452.5874.1442927141962.JavaMail.jenkins@crius> To: "Struts Developers List" MIME-Version: 1.0 Subject: Re: Build failed in Jenkins: Struts-JDK8-master #31 X-KeepSent: DB5AB289:19C0CA94-C1257ED8:004662D2; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011 Message-ID: From: Christoph Nenning Date: Thu, 8 Oct 2015 14:52:54 +0200 X-MIMETrack: Serialize by Router on MUCLE03/Lexcom_Muenchen/LEXCOM(Release 9.0.1FP4|June 07, 2015) at 08.10.2015 14:53:46, Serialize complete at 08.10.2015 14:53:46 Content-Type: multipart/alternative; boundary="=_alternative 0046D66BC1257ED8_=" --=_alternative 0046D66BC1257ED8_= Content-Type: text/plain; charset="US-ASCII" > From: Johannes Geppert > To: Struts Developers List , > Date: 08.10.2015 14:35 > Subject: Re: Build failed in Jenkins: Struts-JDK8-master #31 > > 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. I agree with that. Ignoring it would just have been a simple way to get it working at all. > 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? > Some more details: - the error occurs when generating: plugins/portlet/target/site/apidocs/serialized-form.html - portlet plugin has a dependency on spring for tests - when I declare spring as compile dependency the javadoc generation works - serialized-form.html has no entry for any spring stuff So I guess the maven classpaths for compile and test get mixed up. Maybe own classes from both configurations are processed by javadoc but just compile-dependencies are added to javadoc's classpath? Regards, Christoph > Johannes > > ################################################# > web: http://www.jgeppert.com > twitter: http://twitter.com/jogep > > > 2015-10-08 13:45 GMT+02:00 Christoph Nenning > : > > > > From: Lukasz Lenart > > > To: Struts Developers List , > > > 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: > > -Xdoclint:none > > > > > > 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 > > This Email was scanned by Sophos Anti Virus --=_alternative 0046D66BC1257ED8_=--