This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 978d09b08db5 Clean grpc dependencies
978d09b08db5 is described below
commit 978d09b08db524f223c84dadd9baf1aa0423d951
Author: Aurélien Pupier <[email protected]>
AuthorDate: Wed Jun 17 14:39:52 2026 +0200
Clean grpc dependencies
* use same version than the whole camel project for
google-auth-library-oauth2-http in grpc component. It was introduced at
a time the dependency was still in 0.7 version and i suspect that at
that point in time there were more APi break and incompatibilities
between versions. There is still a small misalignment 1.42.1 from grpc
vs 1.48.0 in Camel but it seems to be working.
* removed google-auth-library-credentials which was provided only to be
able to override the version
* removed jsr-305 which is no more a dependency of
google-auth-library-oauth2-http
* removed javax.annotation-api as
https://github.com/grpc/grpc-java/issues/9179 has been fixed in grpc
1.74 ad we are now in 1.82.0
side note: it will avoid dependabot to miss the upgrade of
google-auth-library-credentials inside grpc (which was still in 1.41.0
then) and causing dependabot errors due to dependabot bug
Signed-off-by: Aurélien Pupier <[email protected]>
---
components/camel-grpc/pom.xml | 29 +----------------------------
parent/pom.xml | 1 -
2 files changed, 1 insertion(+), 29 deletions(-)
diff --git a/components/camel-grpc/pom.xml b/components/camel-grpc/pom.xml
index 9d0834ba099b..cdf283b0f75a 100644
--- a/components/camel-grpc/pom.xml
+++ b/components/camel-grpc/pom.xml
@@ -82,19 +82,7 @@
<dependency>
<groupId>com.google.auth</groupId>
<artifactId>google-auth-library-oauth2-http</artifactId>
- <version>${grpc-google-auth-library-version}</version>
- <exclusions>
- <exclusion>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>com.google.auth</groupId>
- <artifactId>google-auth-library-credentials</artifactId>
- <version>${grpc-google-auth-library-version}</version>
+ <version>${google-auth-library-oauth2-http-version}</version>
</dependency>
<dependency>
@@ -115,21 +103,6 @@
<version>${mockito-version}</version>
<scope>test</scope>
</dependency>
- <!-- GRPC does not support the jakarta annotation, see
https://github.com/grpc/grpc-java/issues/9179 -->
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
- <version>1.3.2</version>
- <scope>test</scope>
- </dependency>
-
- <!-- needed for testing -->
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <version>3.0.2</version>
- <scope>test</scope>
- </dependency>
</dependencies>
diff --git a/parent/pom.xml b/parent/pom.xml
index 19d53222a0f0..c1ebe217d6fe 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -205,7 +205,6 @@
<greenmail-version>2.1.9</greenmail-version>
<groovy-version>5.0.6</groovy-version>
<grpc-version>1.82.0</grpc-version>
-
<grpc-google-auth-library-version>1.41.0</grpc-google-auth-library-version>
<grpc-java-jwt-version>4.5.2</grpc-java-jwt-version>
<gson-version>2.14.0</gson-version>
<guava-version>33.6.0-jre</guava-version>