From notifications-return-25006-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Fri Apr 12 20:44:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id BE48C180763 for ; Fri, 12 Apr 2019 22:44:03 +0200 (CEST) Received: (qmail 57603 invoked by uid 500); 12 Apr 2019 20:44:02 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 57518 invoked by uid 99); 12 Apr 2019 20:44:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2019 20:44:02 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 555DAE2AAE for ; Fri, 12 Apr 2019 20:44:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 80276245A1 for ; Fri, 12 Apr 2019 20:44:00 +0000 (UTC) Date: Fri, 12 Apr 2019 20:44:00 +0000 (UTC) From: "Jacques Le Roux (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Closed]_(OFBIZ-10693)_=E2=80=98./gradlew_gene?= =?utf-8?Q?rateOfbizDocumentation=E2=80=99_fails_with_Gradle_5.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-10693?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-10693. ----------------------------------- Resolution: Fixed Fix Version/s: (was: 18.12.01) > =E2=80=98./gradlew generateOfbizDocumentation=E2=80=99 fails with Gradle = 5.0 > ------------------------------------------------------------ > > Key: OFBIZ-10693 > URL: https://issues.apache.org/jira/browse/OFBIZ-10693 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Trunk > Reporter: Mathieu Lirzin > Assignee: Jacques Le Roux > Priority: Major > Fix For: 17.12.01 > > Attachments: OFBIZ-10693_Fix-AsciiDoctor-tasks-by-downgrading-cor= responding-G.patch > > > We recently upgraded Gradle 3.2.1 =E2=86=92 5.0. The {{./gradlew generate= OfbizDocumentation}} command fails with the following stacktrace > {code:java} > > Task :deleteOfbizDocumentation > > Task :generateOfbizDocumentation FAILED > Exception in thread "main" java.lang.ExceptionInInitializerError > =09at org.codehaus.groovy.runtime.InvokerHelper.(InvokerHelper.ja= va:86) > =09at groovy.lang.GroovyObjectSupport.getDefaultMetaClass(GroovyObjectSup= port.java:59) > =09at groovy.lang.GroovyObjectSupport.(GroovyObjectSupport.java:32) > =09at groovy.lang.Reference.(Reference.java:38) > =09at org.asciidoctor.gradle.backported.AsciidoctorJavaExec.main(Asciidoc= torJavaExec.groovy:188) > Caused by: groovy.lang.GroovyRuntimeException: Conflicting module version= s. Module [groovy-all is loaded in version 2.5.4 and you are trying to load= version 2.4.7 > =09at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl$Default= ModuleListener.onModule(MetaClassRegistryImpl.java:523) > =09at org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanExtensi= onModuleFromProperties(ExtensionModuleScanner.java:87) > =09at org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanExtensi= onModuleFromMetaInf(ExtensionModuleScanner.java:81) > =09at org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanClasspa= thModulesFrom(ExtensionModuleScanner.java:63) > =09at org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanClasspa= thModules(ExtensionModuleScanner.java:55) > =09at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.(= MetaClassRegistryImpl.java:124) > =09at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.(= MetaClassRegistryImpl.java:85) > =09at groovy.lang.GroovySystem.(GroovySystem.java:36) > =09... 5 more > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':generateOfbizDocumentation'. > > Process 'command '/gnu/store/w41g4n182c7qxaaq77jyrgdqifzzpvsp-icedtea-3= .7.0-jdk/bin/java'' finished with non-zero exit value 1 > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or -= -debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > BUILD FAILED in 1s > 2 actionable tasks: 2 executed > {code} > It seems that the [AsciiDoctor Gradle Plugin|https://asciidoctor.org/docs= /asciidoctor-gradle-plugin/] is failing because Groovy 2.5.4 is now used by= Gradle instead of Groovy 2.4.7 > I would be nice to work around this issue instead of downgrading Gradle. -- This message was sent by Atlassian JIRA (v7.6.3#76005)