Skip to content

Error resolving Kotlin dependencies when running smithy-rs JAR from mavenCentral #4351

@drganjoo

Description

@drganjoo

When attempting to run the smithy-rs published JARs directly, I'm encountering dependency resolution errors for Kotlin standard library artifacts. Specifically:

The following artifacts could not be resolved: 
org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:unspecified (absent)

This occurs despite having a valid smithy-build.json configuration with the correct smithy-rs dependencies:

"maven": {
    "dependencies": [
        "software.amazon.smithy.rust:codegen-server:0.1.3",
        "software.amazon.smithy:smithy-validation-model:1.62.0"
    ]
}

Environment details:

  • JDK:
openjdk 17.0.16 2025-07-15 LTS
OpenJDK Runtime Environment Corretto-17.0.16.8.1 (build 17.0.16+8-LTS)
OpenJDK 64-Bit Server VM Corretto-17.0.16.8.1 (build 17.0.16+8-LTS, mixed mode, sharing)

Metadata

Metadata

Assignees

No one assigned

    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