-
Notifications
You must be signed in to change notification settings - Fork 1k
Fix latest dep tests #12596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix latest dep tests #12596
Conversation
| 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") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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("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") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Line 34 in 29da88e
| abstract class TestLatestDepsRule : ComponentMetadataRule { |
Resolves #12599
Resolves #12600