You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2022/02/03 22:50:00 UTC

[jira] [Closed] (GROOVY-10213) Unable to build Groovy 2.5.8 from sources.

     [ https://issues.apache.org/jira/browse/GROOVY-10213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-10213.
------------------------------

> Unable to build Groovy 2.5.8 from sources.
> ------------------------------------------
>
>                 Key: GROOVY-10213
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10213
>             Project: Groovy
>          Issue Type: Question
>    Affects Versions: 2.5.8
>         Environment: JDK 11, Linux
>            Reporter: Eakterina Ivanova
>            Assignee: Paul King
>            Priority: Major
>
> Hi!
>  I need to build Groovy 2.5.8 from sources. For this, I downloaded these sources: [https://archive.apache.org/dist/groovy/2.5.8/sources/apache-groovy-src-2.5.8.zip]
>  Then I installed the wrapper  
> {code:java}
> gradle -b wrapper.gradle wrapper{code}
> Then I changed "jcenter" to "mavenCentral" everywhere in build.gradle
>  Finally, I changed openbeans coordinates as described in its README [https://github.com/melix/openbeans/blob/master/README.md]
> {code:java}
> //compile "com.googlecode:openbeans:$openbeansVersion"
>  compile "me.champeau.openbeans:openbeans:1.0.2"{code}
>  
> Then I have run "./gradlew clean build" and got following error
> {code:java}
> ./gradlew clean build
> Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
> Parallel execution is an incubating feature.
>  
> > Configure project :
> ArtifactoryUser user: null
> Using Java from /home/katya/java (version 11.0.2)
> Detected development environment
> [buildinfo] Properties file path was not found! (Relevant only for builds running on a CI Server)
>  
> FAILURE: Build failed with an exception.
>  
> * Where:
> Script '/home/katya/tmp_work/groovy582/groovy-2.5.8/gradle/binarycompatibility.gradle' line: 67
>  
> * What went wrong:
> Could not determine the dependencies of task ':groovy-console:japicmp'.
> > Could not resolve all files for configuration ':groovy-console:detachedConfiguration1'.
>  > Could not resolve org.codehaus.groovy:groovy-console:2.4.16.
>  Required by:
>  project :groovy-console
>  > Project :groovy-console declares a dependency from configuration 'detachedConfiguration1' to configuration 'default' which is not declared in the descriptor for project :groovy-console.
>  
> * 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 5s{code}
> Could you explain to me what is wrong and how to fix this issue?
>  Thank you!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)