Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,22 @@ muzzle {
}

dependencies {
library("io.awspring.cloud:spring-cloud-aws-starter-sqs:3.0.0")
// current latest release 3.3.0-M1 has parent that is from central because of that we can't use
// library here and have to use compileOnly + testImplementation to avoid resolving the broken
// version
compileOnly("io.awspring.cloud:spring-cloud-aws-starter-sqs:3.0.0")
Comment on lines -15 to +18
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought only adding latestDepTestLibrary was enough to resolve this kind of issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So did I. I also would have thought that we ignore versions like 3.3.0-M1. My guess is that the problem here is that what is missing is not a random dependency but one of the parent poms. Perhaps this breaks it more thoroughly than usual.

implementation(project(":instrumentation:aws-sdk:aws-sdk-2.2:library"))

testInstrumentation(project(":instrumentation:aws-sdk:aws-sdk-2.2:javaagent"))

testImplementation("org.elasticmq:elasticmq-rest-sqs_2.13")

testImplementation("io.awspring.cloud:spring-cloud-aws-starter-sqs:3.0.0")
testLibrary("org.springframework.boot:spring-boot-starter-test:3.0.0")
testLibrary("org.springframework.boot:spring-boot-starter-web:3.0.0")

// current latest release 3.3.0-M1 has parent that is from central
latestDepTestLibrary("io.awspring.cloud:spring-cloud-aws-starter-sqs:3.2.1")
}

otelJava {
Expand Down
Loading