Alessandro Solimando created CALCITE-6630:
---------------------------------------------
Summary: Build fails on fresh machine due to the missing
dependency 'org.ajoberstar.grgit:grgit-gradle:4.0.1'
Key: CALCITE-6630
URL: https://issues.apache.org/jira/browse/CALCITE-6630
Project: Calcite
Issue Type: Bug
Components: build
Reporter: Alessandro Solimando
Assignee: Alessandro Solimando
Fix For: 1.39.0
Running "./gradlew build" on a machine without cached maven packages fails as
follows:
{noformat}
FAILURE: Build failed with an exception.* What went wrong:
A problem occurred configuring root project 'calcite'.
> Could not resolve all files for configuration ':classpath'.
> Could not find org.ajoberstar.grgit:grgit-core:4.0.1.
Searched in the following locations:
-
https://plugins.gradle.org/m2/org/ajoberstar/grgit/grgit-core/4.0.1/grgit-core-4.0.1.pom
If the artifact you are trying to retrieve can be found in the repository
but without metadata in 'Maven POM' format, you need to adjust the
'metadataSources { ... }' of the repository declaration.
Required by:
project : >
com.github.vlsi.stage-vote-release:com.github.vlsi.stage-vote-release.gradle.plugin:1.76
> com.github.vlsi.gradle:stage-vote-release-plugin:1.76
project : >
com.github.vlsi.stage-vote-release:com.github.vlsi.stage-vote-release.gradle.plugin:1.76
> com.github.vlsi.gradle:stage-vote-release-plugin:1.76 >
org.ajoberstar.grgit:grgit-gradle:4.0.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.orgBUILD FAILED in 6s
30 actionable tasks: 3 executed, 27 up-to-date
The remote build cache was disabled during the build due to errors.
{noformat}
"com.github.vlsi.stage-vote-release:1.76" depends on
"org.ajoberstar.grgit:grgit-gradle:4.0.1" which was only available on JCenter,
which was [sunset|https://github.com/gradle/gradle/issues/30081] the 15th of
August 2024.
Upgrading to the latest version of stage-vote-release (1.90) fixes the issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)