You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Following the steps to install the java client here, I ran into the following error:
> Task :app:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileJava'.
> Could not resolve all files for configuration ':app:compileClasspath'.
> Could not find io.odpf:raccoon:0.1.5.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/io/odpf/raccoon/0.1.5/raccoon-0.1.5.pom
Required by:
project :app
The version available is 0.1.5-rc instead of 0.1.5 as stated in the docs.
To Reproduce
$ mkdir java-raccoon-example
$ cd java-raccoon-example
$ gradle init --type=java-application
$ vim app/build.gradle # add "implementation group: 'io.raystack', name: 'raccoon', version: '0.1.5'" to dependencies
# vim app/src/main/java/org/example/App.java # add "import io.raystack.raccoon;"
$ gradle build
> Task :app:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileJava'.
> Could not resolve all files for configuration ':app:compileClasspath'.
> Could not find io.odpf:raccoon:0.1.5.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/io/odpf/raccoon/0.1.5/raccoon-0.1.5.pom
Required by:
project :app
* Try:
> 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.
> 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
1 actionable task: 1 executed
Expected behavior
The java application should compile without any dependency errors.
Additional context
Gradle Version:
------------------------------------------------------------
Gradle 8.9
------------------------------------------------------------
Build time: 2024-07-11 14:37:41 UTC
Revision: d536ef36a19186ccc596d8817123e5445f30fef8
Kotlin: 1.9.23
Groovy: 3.0.21
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
Launcher JVM: 11.0.23 (Debian 11.0.23+9-post-Debian-1deb11u1)
Daemon JVM: /usr/lib/jvm/java-11-openjdk-amd64 (no JDK specified, using current Java home)
OS: Linux 5.10.0-30-amd64 amd64
Java Version:
openjdk 11.0.23 2024-04-16
OpenJDK Runtime Environment (build 11.0.23+9-post-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 11.0.23+9-post-Debian-1deb11u1, mixed mode, sharing)
The text was updated successfully, but these errors were encountered:
Description
Following the steps to install the java client here, I ran into the following error:
Taking a look at the maven repository, I can't find
io.raystack.raccoon
, However I can locateio.odpf.raccoon
.https://mvnrepository.com/artifact/io.odpf/raccoon
The version available is
0.1.5-rc
instead of0.1.5
as stated in the docs.To Reproduce
Expected behavior
The java application should compile without any dependency errors.
Additional context
Gradle Version:
Java Version:
The text was updated successfully, but these errors were encountered: