Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D8B4A200B8C for ; Mon, 12 Sep 2016 14:12:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D77A2160AB8; Mon, 12 Sep 2016 12:12:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DA5F9160AC8 for ; Mon, 12 Sep 2016 14:12:21 +0200 (CEST) Received: (qmail 61980 invoked by uid 500); 12 Sep 2016 12:12:21 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 61738 invoked by uid 99); 12 Sep 2016 12:12:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2016 12:12:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 90DB12C1B75 for ; Mon, 12 Sep 2016 12:12:20 +0000 (UTC) Date: Mon, 12 Sep 2016 12:12:20 +0000 (UTC) From: =?utf-8?Q?Francesco_Chicchiricc=C3=B2_=28JIRA=29?= To: dev@cocoon.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (COCOON3-138) Cannot build with JDK 8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Sep 2016 12:12:23 -0000 Francesco Chicchiricc=C3=B2 created COCOON3-138: ---------------------------------------------- Summary: Cannot build with JDK 8 Key: COCOON3-138 URL: https://issues.apache.org/jira/browse/COCOON3-138 Project: Cocoon 3 Issue Type: Bug Components: cocoon-optional Reporter: Francesco Chicchiricc=C3=B2 Fix For: 3.0.0-beta-1 Build of the current source tree fails with JDK 1.8: {code} [INFO] = =20 [INFO] --------------------------------------------------------------------= ---- [INFO] Building Apache Cocoon 3: Optional 3.0.0-beta-1-SNAPSHOT [INFO] --------------------------------------------------------------------= ---- [INFO]=20 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cocoon-optional -= -- [INFO] Deleting /home/ilgrosso/work/cocoon/cocoon3/cocoon-optional/target [INFO]=20 [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ cocoon-optio= nal --- [INFO]=20 [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ cocoon-opt= ional --- [INFO]=20 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cocoo= n-optional --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 3 resources [INFO]=20 [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ cocoon-opt= ional --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 33 source files to /home/ilgrosso/work/cocoon/cocoon3/coco= on-optional/target/classes [WARNING] /home/ilgrosso/work/cocoon/cocoon3/cocoon-optional/src/main/java/= org/apache/cocoon/optional/pipeline/components/sax/csv/CSVGenerator.java: /= home/ilgrosso/work/cocoon/cocoon3/cocoon-optional/src/main/java/org/apache/= cocoon/optional/pipeline/components/sax/csv/CSVGenerator.java uses unchecke= d or unsafe operations. [WARNING] /home/ilgrosso/work/cocoon/cocoon3/cocoon-optional/src/main/java/= org/apache/cocoon/optional/pipeline/components/sax/csv/CSVGenerator.java: R= ecompile with -Xlint:unchecked for details. [INFO]=20 [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources)= @ cocoon-optional --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 16 resources [INFO] Copying 3 resources [INFO]=20 [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ co= coon-optional --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 15 source files to /home/ilgrosso/work/cocoon/cocoon3/coco= on-optional/target/test-classes [WARNING] /home/ilgrosso/work/cocoon/cocoon3/cocoon-optional/src/test/java/= org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCa= se.java: Some input files use or override a deprecated API. [WARNING] /home/ilgrosso/work/cocoon/cocoon3/cocoon-optional/src/test/java/= org/apache/cocoon/optional/pipeline/components/sax/jaxb/JAXBGeneratorTestCa= se.java: Recompile with -Xlint:deprecation for details. [INFO]=20 [INFO] --- maven-surefire-plugin:2.14:test (default-test) @ cocoon-optional= --- [INFO] Surefire report directory: /home/ilgrosso/work/cocoon/cocoon3/cocoon= -optional/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.cocoon.optional.pipeline.components.sax.betwixt.BetwixtB= eanGeneratorTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.297 sec Running org.apache.cocoon.optional.pipeline.components.sax.generator.AddRoo= tElementGeneratorTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec Running org.apache.cocoon.optional.pipeline.components.sax.fop.FopSerialize= rTestCase Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.599 sec Running org.apache.cocoon.optional.pipeline.components.sax.calendar.Calenda= rGeneratorTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec Running org.apache.cocoon.optional.pipeline.components.sax.csv.CSVGenerator= Test Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec Running org.apache.cocoon.optional.pipeline.components.sax.neko.NekoGenerat= orTestCase Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec Running org.apache.cocoon.optional.pipeline.components.sax.solr.SolrConsume= rTestCase Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.085 sec Running org.apache.cocoon.optional.pipeline.components.sax.tika.TikaGenerat= orTestCase Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.676 sec <= << FAILURE! testTikaPDFParse(org.apache.cocoon.optional.pipeline.components.sax.tika.Ti= kaGeneratorTestCase) Time elapsed: 0.424 sec <<< FAILURE! java.lang.AssertionError: org.custommonkey.xmlunit.DetailedDiff [not identical] Expected sequence of child nodes '1' but was '5' - comparin= g at /html[1]/head[1]/meta[1] to at /html[1]/head[1]/me= ta[3] [not identical] Expected sequence of child nodes '3' but was '7' - comparin= g at /html[1]/head[1]/meta[2] to at /html[1]/head[1]/me= ta[4] [not identical] Expected sequence of child nodes '5' but was '27' - compari= ng at /html[1]/head[1]/meta[3] to at /html[1]/head[1]/m= eta[14] [not identical] Expected sequence of child nodes '7' but was '9' - comparin= g at /html[1]/head[1]/meta[4] to at /html[1]/head[1]/me= ta[5] [different] Expected text value ' ' but was ' ' - comparing at /html[1]/head[1]/text()[5] to at /html[1]/head[1]/text()[5] [not identical] Expected sequence of child nodes '9' but was '17' - compari= ng at /html[1]/head[1]/meta[5] to at /html[1]/head[1]/m= eta[9] [not identical] Expected sequence of child nodes '11' but was '21' - compar= ing at /html[1]/head[1]/meta[6] to at /html[1]/head[1]/= meta[11] [not identical] Expected sequence of child nodes '13' but was '1' - compari= ng at /html[1]/head[1]/meta[7] to at /html[1]/head[1]/m= eta[1] [not identical] Expected sequence of child nodes '15' but was '11' - compar= ing at /html[1]/head[1]/meta[8] to at /html[1]/head[1]/= meta[6] [not identical] Expected sequence of child nodes '17' but was '13' - compar= ing at /html[1]/head[1]/meta[9] to at /html[1]/head[1]/= meta[7] [not identical] Expected sequence of child nodes '19' but was '3' - compari= ng at /html[1]/head[1]/meta[10] to at /html[1]/head[1]/= meta[2] [different] Expected text value ' ' but was ' ' - comparing at /html[1]/head[1]/text()[11] to at /html[1]/head[1]/text()[11] [not identical] Expected sequence of child nodes '21' but was '25' - compar= ing at /html[1]/head[1]/meta[11] to at /html[1]/head[1]= /meta[13] [not identical] Expected sequence of child nodes '25' but was '29' - compar= ing at /html[1]/head[1]/meta[13] to at /html[1]/head[1]= /meta[15] [not identical] Expected sequence of child nodes '27' but was '15' - compar= ing at /html[1]/head[1]/meta[14] to at /html[1]/head[1]= /meta[8] [not identical] Expected sequence of child nodes '29' but was '19' - compar= ing at /html[1]/head[1]/meta[15] to at /html[1]/head[1]= /meta[10] at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.cocoon.optional.pipeline.components.sax.tika.TikaGene= ratorTestCase.processAndCompare(TikaGeneratorTestCase.java:99) at org.apache.cocoon.optional.pipeline.components.sax.tika.TikaGene= ratorTestCase.testTikaPDFParse(TikaGeneratorTestCase.java:56) Running org.apache.cocoon.optional.pipeline.components.sax.jaxb.JAXBGenerat= orTestCase Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.24 sec Running org.apache.cocoon.optional.pipeline.components.sax.directory.Direct= oryGeneratorTestCase Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Results : Failed tests:=20 TikaGeneratorTestCase.testTikaPDFParse:56->processAndCompare:99 org.custo= mmonkey.xmlunit.DetailedDiff [not identical] Expected sequence of child nodes '1' but was '5' - comparin= g at /html[1]/head[1]/meta[1] to at /html[1]/head[1]/me= ta[3] [not identical] Expected sequence of child nodes '3' but was '7' - comparin= g at /html[1]/head[1]/meta[2] to at /html[1]/head[1]/me= ta[4] [not identical] Expected sequence of child nodes '5' but was '27' - compari= ng at /html[1]/head[1]/meta[3] to at /html[1]/head[1]/m= eta[14] [not identical] Expected sequence of child nodes '7' but was '9' - comparin= g at /html[1]/head[1]/meta[4] to at /html[1]/head[1]/me= ta[5] [different] Expected text value ' ' but was ' ' - comparing at /html[1]/head[1]/text()[5] to at /html[1]/head[1]/text()[5] [not identical] Expected sequence of child nodes '9' but was '17' - compari= ng at /html[1]/head[1]/meta[5] to at /html[1]/head[1]/m= eta[9] [not identical] Expected sequence of child nodes '11' but was '21' - compar= ing at /html[1]/head[1]/meta[6] to at /html[1]/head[1]/= meta[11] [not identical] Expected sequence of child nodes '13' but was '1' - compari= ng at /html[1]/head[1]/meta[7] to at /html[1]/head[1]/m= eta[1] [not identical] Expected sequence of child nodes '15' but was '11' - compar= ing at /html[1]/head[1]/meta[8] to at /html[1]/head[1]/= meta[6] [not identical] Expected sequence of child nodes '17' but was '13' - compar= ing at /html[1]/head[1]/meta[9] to at /html[1]/head[1]/= meta[7] [not identical] Expected sequence of child nodes '19' but was '3' - compari= ng at /html[1]/head[1]/meta[10] to at /html[1]/head[1]/= meta[2] [different] Expected text value ' ' but was ' ' - comparing at /html[1]/head[1]/text()[11] to at /html[1]/head[1]/text()[11] [not identical] Expected sequence of child nodes '21' but was '25' - compar= ing at /html[1]/head[1]/meta[11] to at /html[1]/head[1]= /meta[13] [not identical] Expected sequence of child nodes '25' but was '29' - compar= ing at /html[1]/head[1]/meta[13] to at /html[1]/head[1]= /meta[15] [not identical] Expected sequence of child nodes '27' but was '15' - compar= ing at /html[1]/head[1]/meta[14] to at /html[1]/head[1]= /meta[8] [not identical] Expected sequence of child nodes '29' but was '19' - compar= ing at /html[1]/head[1]/meta[15] to at /html[1]/head[1]= /meta[10] Tests run: 20, Failures: 1, Errors: 0, Skipped: 0 [INFO] --------------------------------------------------------------------= ---- [INFO] Reactor Summary: [INFO]=20 [INFO] Apache Cocoon 3: Parent ........................... SUCCESS [ 0.825= s] [INFO] Apache Cocoon 3: Utilities ........................ SUCCESS [ 1.050= s] [INFO] Apache Cocoon 3: Pipeline ......................... SUCCESS [ 0.292= s] [INFO] Apache Cocoon 3: SAX .............................. SUCCESS [ 2.914= s] [INFO] Apache Cocoon 3: CLI .............................. SUCCESS [ 1.115= s] [INFO] Apache Cocoon 3: Sitemap .......................... SUCCESS [ 0.805= s] [INFO] Apache Cocoon 3: Controller ....................... SUCCESS [ 0.114= s] [INFO] Apache Cocoon 3: Servlet .......................... SUCCESS [ 0.247= s] [INFO] Apache Cocoon 3: Optional ......................... FAILURE [ 3.980= s] [INFO] Apache cocoon 3: Databases integration components . SKIPPED [INFO] Apache Cocoon 3: Monitoring ....................... SKIPPED [INFO] Apache Cocoon 3: REST support ..................... SKIPPED [INFO] Apache Cocoon 3: Profiling ........................ SKIPPED [INFO] Apache Cocoon 3: Optional REST components ......... SKIPPED [INFO] Apache Cocoon 3: String Templates ................. SKIPPED [INFO] Apache Cocoon 3: Shiro integration ................ SKIPPED [INFO] Apache Cocoon 3: StAX ............................. SKIPPED [INFO] Apache Cocoon 3: Wicket Integration ............... SKIPPED [INFO] Apache Cocoon 3: All dependencies ................. SKIPPED [INFO] Apache Cocoon 3: Databases sample integration ..... SKIPPED [INFO] Apache Cocoon 3: Sample ........................... SKIPPED [INFO] Apache Cocoon 3: Shiro sample integration ......... SKIPPED [INFO] Apache Cocoon 3: Root ............................. SKIPPED [INFO] --------------------------------------------------------------------= ---- [INFO] BUILD FAILURE [INFO] --------------------------------------------------------------------= ---- [INFO] Total time: 11.649 s [INFO] Finished at: 2016-09-12T14:10:53+01:00 [INFO] Final Memory: 58M/657M [INFO] --------------------------------------------------------------------= ---- {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)