Skip to content

Mismatched dependency versions #915

@AleksanderBrzozowski

Description

@AleksanderBrzozowski

Hi!

I've generated a new project using Quarkus starter, with Kotlin and Operator SDK selected, and Quarkus version 3.13.0 (the newest one). However, when building the project, I see such warning:

Mismatched Quarkus version found: "3.13.0", expected: "3.11.0" by at least a minor version and things might not work as expected.
Mismatched JOSDK Fabric8 Kubernetes Client version found: "6.13.1", expected: "6.12.1" by at least a minor version and things might not work as expected.
Mismatched Quarkus-provided Fabric8 Kubernetes Client version found: "6.13.1", expected: "6.12.1" by at least a minor version and things might not work as expected.

The same happens when Quarkus version is 3.12.3:

Mismatched Quarkus version found: "3.12.3", expected: "3.11.0" by at least a minor version and things might not work as expected.
Mismatched JOSDK Fabric8 Kubernetes Client version found: "6.13.1", expected: "6.12.1" by at least a minor version and things might not work as expected.
Mismatched Quarkus-provided Fabric8 Kubernetes Client version found: "6.13.1", expected: "6.12.1" by at least a minor version and things might not work as expected.

Here is the dependencies list from build.gradle.kts file:

dependencies {
    implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}"))
    implementation(enforcedPlatform("${quarkusPlatformGroupId}:quarkus-operator-sdk-bom:${quarkusPlatformVersion}"))
    implementation("io.quarkus:quarkus-kotlin")
    implementation("io.quarkiverse.operatorsdk:quarkus-operator-sdk")
    implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
    implementation("io.quarkus:quarkus-arc")
    testImplementation("io.quarkus:quarkus-junit5")
}

I am guessing that there is a mismatch between versions declared by the Operator SDK, and the ones that are in the Quarkus BOM. What we should do with it? Removing the Operator SDK dependency fixes the issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions