aerogear / keycloak-metrics-spi

Adds a Metrics Endpoint to Keycloak
Apache License 2.0
549 stars 156 forks source link

Build failed `Could not find org.ajoberstar.grgit:grgit-core:3.0.0-rc.2.` #147

Closed claudiunicolaa closed 1 year ago

claudiunicolaa commented 1 year ago

Description

Build stops working due to missing org.ajoberstar.grgit:grgit-core:3.0.0-rc.2. It looks like was discontinued.

Expected Behavior

The project is built after running the command ./gradlew jar.

Actual Behavior

The project is not built after running the command ./gradlew jar. Output:

./gradlew jar

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'keycloak-metrics-spi'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find org.ajoberstar.grgit:grgit-core:3.0.0-rc.2.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/org/ajoberstar/grgit/grgit-core/3.0.0-rc.2/grgit-core-3.0.0-rc.2.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 : > net.nemerosa.versioning:net.nemerosa.versioning.gradle.plugin:2.8.2 > gradle.plugin.net.nemerosa:versioning:2.8.2

* 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

Environment

Steps to reproduce

Run ./gradlew jar.

pb82 commented 1 year ago

fixed in #148