Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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 @@ -33,7 +33,7 @@ testing {
implementation("org.testcontainers:testcontainers")
if (latestDepTest) {
implementation("org.hibernate.reactive:hibernate-reactive-core:1.+")
implementation("io.vertx:vertx-pg-client:+")
implementation("io.vertx:vertx-pg-client:4.+")
} else {
implementation("org.hibernate.reactive:hibernate-reactive-core:1.0.0.Final")
implementation("io.vertx:vertx-pg-client:4.1.5")
Expand All @@ -46,8 +46,8 @@ testing {
dependencies {
implementation("org.testcontainers:testcontainers")
if (latestDepTest) {
implementation("org.hibernate.reactive:hibernate-reactive-core:2.+")
implementation("io.vertx:vertx-pg-client:+")
implementation("org.hibernate.reactive:hibernate-reactive-core:latest.release")
implementation("io.vertx:vertx-pg-client:latest.release")
} else {
implementation("org.hibernate.reactive:hibernate-reactive-core:2.0.0.Final")
implementation("io.vertx:vertx-pg-client:4.4.2")
Expand Down
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
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ testing {

// the "library" configuration is not recognized by the test suite plugin
if (latestDepTest) {
implementation("io.vertx:vertx-kafka-client:+")
implementation("io.vertx:vertx-codegen:+")
implementation("io.vertx:vertx-kafka-client:latest.release")
implementation("io.vertx:vertx-codegen:latest.release")
Copy link
Member

Choose a reason for hiding this comment

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

was it picking up SNAPSHOT version? could you tell from where?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no it was picking up 5.0.0.CR1, latest.release is also used by the usual latest dep magic and works with

} else {
implementation("io.vertx:vertx-kafka-client:3.6.0")
implementation("io.vertx:vertx-codegen:3.6.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ testing {
dependencies {
implementation("org.hsqldb:hsqldb:2.3.4")

implementation("io.vertx:vertx-web:+")
implementation("io.vertx:vertx-rx-java2:+")
implementation("io.vertx:vertx-web-client:+")
implementation("io.vertx:vertx-jdbc-client:+")
implementation("io.vertx:vertx-circuit-breaker:+")
implementation("io.vertx:vertx-web:latest.release")
implementation("io.vertx:vertx-rx-java2:latest.release")
implementation("io.vertx:vertx-web-client:latest.release")
implementation("io.vertx:vertx-jdbc-client:latest.release")
implementation("io.vertx:vertx-circuit-breaker:latest.release")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ testing {
dependencies {
implementation(project(":instrumentation:vertx:vertx-web-3.0:testing"))

implementation("io.vertx:vertx-web:+")
implementation("io.vertx:vertx-jdbc-client:+")
implementation("io.vertx:vertx-codegen:+")
implementation("io.vertx:vertx-web:latest.release")
implementation("io.vertx:vertx-jdbc-client:latest.release")
implementation("io.vertx:vertx-codegen:latest.release")
}
}
}
Expand Down
Loading