Skip to content
This repository was archived by the owner on May 14, 2026. It is now read-only.
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion gapic-generator-java-pom-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
<grpc.version>1.71.0</grpc.version>
<google.auth.version>1.39.1</google.auth.version>
<google.http-client.version>1.47.1</google.http-client.version>
<google.http-client.version>2.0.2</google.http-client.version>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

This version upgrade is problematic for two main reasons:

  1. Non-existent version: The version 2.0.2 for com.google.http-client:google-http-client-bom does not seem to be published to Maven Central. This will cause a build failure due to an unresolved dependency. The latest available version for this artifact is 1.47.1.

  2. Java version incompatibility: This is a major version upgrade. Google client libraries with a 2.x version typically require Java 11 or higher. This project is configured with <maven.compiler.release>8</maven.compiler.release>, targeting Java 8. Using a Java 11+ library in a Java 8 project would result in a java.lang.UnsupportedClassVersionError at runtime.

Due to these critical issues, this version should be reverted to 1.47.1.

Suggested change
<google.http-client.version>2.0.2</google.http-client.version>
<google.http-client.version>1.47.1</google.http-client.version>

<gson.version>2.12.1</gson.version>
<guava.version>33.4.0-jre</guava.version>
<protobuf.version>3.25.8</protobuf.version>
Expand Down
Loading