-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
PR #14027 has a build/gradle bug that is causing snapshots of the aws-sdk-1.11 library instrumentation to attempt to publish with version 1.12.80 instead of 2.18.0-ALPHA. This has been breaking snapshot builds of main ever since (~2 weeks).
Example error: https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/runs/15978529890/job/45069886431
* What went wrong:
Execution failed for task ':instrumentation:aws-sdk:aws-sdk-1.11:library:publishMavenPublicationToSonatypeRepository'.
> Failed to publish publication 'maven' to repository 'sonatype'
> Could not PUT 'https://central.sonatype.com/repository/maven-snapshots/io/opentelemetry/instrumentation/opentelemetry-aws-sdk-1.11/1.12.80/opentelemetry-aws-sdk-1.11-1.12.80.jar'. Received status code 400 from server: Repository version policy: SNAPSHOT does not allow version: 1.12.80
In my fork I tested a trivial fix that adds the missing val to the version = ... expression, which fixes the issue as confirmed with a simple version-dumping task:
tasks.register("checkVersion") {
doLast {
println(project.version as String)
}
}jaydeluca
Metadata
Metadata
Assignees
Labels
No labels