Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven central missing transitive dependencies ? #438

Open
maxandersen opened this issue Nov 13, 2023 · 1 comment
Open

maven central missing transitive dependencies ? #438

maxandersen opened this issue Nov 13, 2023 · 1 comment

Comments

@maxandersen
Copy link

im trying to run the kotlin kernel using jbang but are finding the jars published in maven central has incomplete dependencies.

using specific version:

jbang info tools org.jetbrains.kotlinx:kotlin-jupyter-kernel:1.9.20 
[jbang] Resolving dependencies...
[jbang]    org.jetbrains.kotlinx:kotlin-jupyter-kernel:1.9.20
[jbang] [ERROR] Could not resolve dependencies: Could not find artifact org.jetbrains.kotlinx:kotlin-jupyter-kernel:jar:1.9.20 in central (https://repo1.maven.org/maven2/)

using RELEASE:

jbang info tools org.jetbrains.kotlinx:kotlin-jupyter-kernel:RELEASE
[jbang] Resolving dependencies...
[jbang]    org.jetbrains.kotlinx:kotlin-jupyter-kernel:RELEASE
[jbang] [ERROR] Could not resolve dependencies: Could not find artifact org.jetbrains.kotlin:kotlin-scripting-dependencies-maven-all:jar:1.9.30-dev-3705 in central (https://repo1.maven.org/maven2/)

and yes, those dependencies are not published with those versions.

Seems like the pom.xml are not correct/consistent.

I can use org.jetbrains.kotlinx:kotlin-jupyter-kernel-shadowed:0.12.0-85 but would prefer being able to reuse already download dependencies rather than big jar fetch.

Is this expected? any recommended ways to depend on the maven artifacts?

@ileasile
Copy link
Member

Hi! You can use this artifact with the 0.12.0-85 version or any other published version. Kotlin kernel isn't a part of a Kotlin distribution, so that's expected that version 1.9.20 of it isn't available, we indeed didn't publish such a version.

Current latest version in maven central however relies on the dev version of Kotlin that's not published there. Latest version of kernel that relies only on stable Kotlin artifacts is 0.12.0-82-1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants