gnodet-bot commented on code in PR #30427:
URL: https://github.com/apache/camel/pull/30427#discussion_r4631240867


##########
components/camel-google/camel-google-vertexai/pom.xml:
##########
@@ -96,6 +101,15 @@
             <artifactId>google-auth-library-credentials</artifactId>
             <version>${google-auth-library-oauth2-http-version}</version>
         </dependency>
+        <!-- Explicit protobuf-java dependency: google-genai 2.0.0 declares 
protobuf-java:3.25.5 as a direct compile

Review Comment:
   💡 **Nit:** The comment references `google-genai 2.0.0` but on `camel-4.22.x` 
the `google-genai-version` property is `1.64.0`. Both versions declare 
`protobuf-java:3.25.5` as a direct compile dependency so the fix is correct 
regardless, but the version number should match the branch.
   
   ```suggestion
           <!-- Explicit protobuf-java dependency: google-genai declares 
protobuf-java:3.25.5 as a direct compile
                dependency, which wins over google-cloud-aiplatform's protobuf 
4.x via Maven nearest-wins when the parent
                dependencyManagement is not in scope (e.g. Camel JBang, 
standalone apps). Pin to the 4.x version needed
                by proto-google-cloud-aiplatform-v1. -->
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to