Skip to content

kotlinx-coroutines-debug version 1.6.3 breaks build with Spring Boot Upgrade to 2.7.1 #3345

@jesperancinha

Description

@jesperancinha

Hi there!

Yesterday I noticed that on several of my repos the build was breaking and dependabot could not automate any of the Spring Boot updates. After an exhaustive investigation I came accross for kotlinx-coroutines-debug which is included in spring boot 2.7.1, there is jar dependency configured for the build of materials and that of course generates:

[ERROR] Failed to execute goal on project stamps-and-coins-service: Could not resolve dependencies for project <> org.jetbrains.kotlinx:kotlinx-coroutines-bom:jar:1.6.3 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

This is what I see when looking into the kotlinx-coroutines-debug dependency:

 <dependencies>
    <dependency>
      <groupId>org.jetbrains.kotlinx</groupId>
      <artifactId>kotlinx-coroutines-core</artifactId>
      <version>1.6.3</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.jetbrains.kotlinx</groupId>
      <artifactId>kotlinx-coroutines-bom</artifactId>
      <version>1.6.3</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>jna</artifactId>
      <version>5.9.0</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>jna-platform</artifactId>
      <version>5.9.0</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>org.jetbrains.kotlin</groupId>
      <artifactId>kotlin-stdlib-jdk8</artifactId>
      <version>1.6.21</version>
      <scope>runtime</scope>
    </dependency>
  </dependencies>

So I'm guessing the problem is here:

    <dependency>
      <groupId>org.jetbrains.kotlinx</groupId>
      <artifactId>kotlinx-coroutines-bom</artifactId>
      <version>1.6.3</version>
      <scope>runtime</scope>
    </dependency>

Are you planning on making a release soon about this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions