Open iqnev opened 1 month ago
I forcibly updated the com.google.api:gax dependency in my project by specifying the version directly in the pom.xml file with the following configuration:
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax</artifactId>
<version>2.52.0</version>
</dependency>
This update resolved the issue described above. However, I'm unclear why the com.google.api:gax:jar was initially set to version 2.49.0
. Any insights into why this older version was used would be appreciated.
Hi this dependency is not set to 2.49.0 manually in this repo, there must be a dependency divergence issue somewhere.
Hi @loicmathieu 2.49.0 comes from com.google.cloud:google-cloud-pubsub:jar:1.130.1
Also the google-cloud-pubsub
delivers the relevant version
<!-- https://mvnrepository.com/artifact/com.google.cloud/google-cloud-pubsub -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-pubsub</artifactId>
<version>1.130.1</version>
</dependency>
But it is strange
Dependency convergence are a little more complex than that, something else in the dependency tree makes Maven resolve it to the wrong version.
@iqnev I updated to Quarkus 3.16 and checked, and it is correctly resolved to the right version. Some dependency divergence should exist in Quarkus 3.15.
Hello,
I've recently upgraded our project from Quarkus version
3.8.5
to the latest LTS version3.15.0
. Additionally, I updatedio.quarkiverse.googlecloudservices:quarkus-google-cloud-pubsub
to its latest version,v2.12.1
.During application testing, I encountered the following error indicating a missing class:
It seems that the class TimeConversionUtils is not available in the
com.google.api.gax.util package
.Additionally, in the process of upgrading, the google-cloud-sdk dependency was updated from version
26.43.0
to26.45.0
in this PR https://github.com/quarkiverse/quarkus-google-cloud-services/pull/667/filesFrom this upgrade, google-cloud-pubsub was updated to
1.132.1
, but the dependency tree still showscom.google.cloud:google-cloud-pubsub:jar:1.130.1
undergoogle-cloud-pubsub:jar:2.12
. Here is a snippet of the relevant part of the dependency tree:Could this be a mismatch or an outdated dependency causing the issue? Any suggestions on how to resolve this error would be highly appreciated!
Thank you for your help!