-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
POM of kotlinx-coroutines-debug is invalid as of version 1.6.2 #3334
Comments
I see that #3281 is the root cause, we'll definitely fix that, thanks! The trick her is to prevent such situations in the future |
In the meantime, I'm adding this to all my projects where I found this problem as a workaround: <dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-debug</artifactId>
<version>${kotlinx-coroutines-debug.version}</version>
<exclusions>
<exclusion>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-bom</artifactId>
</exclusion>
</exclusions>
</dependency> Do you have any idea of when the new release will be out? |
- Workaround: Kotlin/kotlinx.coroutines#3334
- Workaround: Kotlin/kotlinx.coroutines#3334
Next week hopefully |
We are still experiencing this problem with Ktor 2.1.1, While in https://github.com/ktorio/ktor/blob/d300441cb70b6a590ebe263febc36f3fe825b4f6/gradle.properties#L34 |
Does adding an explicit dependency for coroutines 1.6.4 help? Also, CC @e5l. |
Adding <dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-bom</artifactId>
<version>1.6.4</version>
<type>pom</type>
</dependency> ... did not help. If no one else is getting this error, it may be something broken in our setup, it just seemed like a possible cause of the error that |
For our projects, using <dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-server-tests-jvm</artifactId>
<version>2.0.3</version>
<scope>test</scope>
</dependency> with version Other ktor dependencies works fine with versions higher than |
I guess this works as a workaround: |
As of version 1.6.2, the POM of
kotlinx-coroutines-debug
is invalid and breaks a (Maven) build for us, as it includes a dependency onkotlinx-coroutines-bom
with scoperuntime
, so Maven tries to get ajar
forkotlinx-coroutines-bom
which obviously doesn't exist.Version 1.6.3 of
kotlinx-coroutines-debug
is also affected.kotlinx-coroutines-debug-1.6.1.pom
kotlinx-coroutines-debug-1.6.2.pom
The text was updated successfully, but these errors were encountered: