Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

deps: update dependency com.google.guava:guava-bom to v31 #498

Merged
merged 10 commits into from Oct 18, 2021
12 changes: 6 additions & 6 deletions first-party-dependencies/pom.xml
Expand Up @@ -56,15 +56,15 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<site.installationModule>${project.artifactId}</site.installationModule>
<grpc.version>1.41.0</grpc.version>
<gax.version>2.5.0</gax.version>
<gax.version>2.6.0</gax.version>
Copy link
Member Author

Choose a reason for hiding this comment

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

Now this version fails with missing com.google.auth.oauth2 package.

[INFO] -------------------------------------------------------------
Error:  COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
Error:  /home/runner/work/java-shared-dependencies/java-shared-dependencies/java-pubsub/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java:[43,30] package com.google.auth.oauth2 does not exist
Error:  /home/runner/work/java-shared-dependencies/java-shared-dependencies/java-pubsub/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Subscriber.java:[37,30] package com.google.auth.oauth2 does not exist
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Google Cloud Pub/Sub Parent 1.114.7-SNAPSHOT ....... SUCCESS [  2.460 s]
[INFO] proto-google-cloud-pubsub-v1 1.96.7-SNAPSHOT ....... SUCCESS [  1.522 s]
[INFO] grpc-google-cloud-pubsub-v1 1.96.7-SNAPSHOT ........ SUCCESS [  0.905 s]
[INFO] Google Cloud Pub/Sub 1.114.7-SNAPSHOT .............. FAILURE [  1.644 s]
[INFO] Google Cloud pubsub BOM 1.114.7-SNAPSHOT ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

<grpc-gcp.version>1.1.0</grpc-gcp.version>
<guava.version>30.1.1-jre</guava.version>
<guava.version>31.0.1-jre</guava.version>
<protobuf.version>3.18.1</protobuf.version>
<google.api-common.version>2.0.2</google.api-common.version>
<google.common-protos.version>2.5.0</google.common-protos.version>
<google.api-common.version>2.0.5</google.api-common.version>
<google.common-protos.version>2.6.0</google.common-protos.version>
<google.core.version>2.1.6</google.core.version>
<google.auth.version>1.1.0</google.auth.version>
<google.http-client.version>1.40.0</google.http-client.version>
<google.auth.version>1.2.1</google.auth.version>
<google.http-client.version>1.40.1</google.http-client.version>
<google.oauth-client.version>1.32.1</google.oauth-client.version>
<google.api-client.version>1.32.1</google.api-client.version>
<iam.version>1.1.6</iam.version>
Expand Down
10 changes: 9 additions & 1 deletion third-party-dependencies/pom.xml
Expand Up @@ -64,10 +64,12 @@
<opencensus.version>0.28.0</opencensus.version>
<findbugs.version>3.0.2</findbugs.version>
<errorprone.version>2.9.0</errorprone.version>
<jackson.version>2.12.5</jackson.version>
<jackson.version>2.13.0</jackson.version>
<codec.version>1.15</codec.version>
<httpcomponents.httpcore.version>4.4.14</httpcomponents.httpcore.version>
<httpcomponents.httpclient.version>4.5.13</httpcomponents.httpclient.version>
<!-- ensure checker-qual version matches what Guava uses -->
<checker-qual.version>3.12.0</checker-qual.version>
Copy link
Member Author

Choose a reason for hiding this comment

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

@Neenu1995 Declaring checker-qual seems to resolve the release-dependency problem between java-storage, java-datacatalog, and java-bigquery.

</properties>

<dependencyManagement>
Expand Down Expand Up @@ -96,6 +98,7 @@
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>${javax.annotations.version}</version>
<scope>compile</scope>
Copy link
Member Author

@suztomo suztomo Oct 15, 2021

Choose a reason for hiding this comment

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

It resolved the problem. Interesting.

Screen Shot 2021-10-15 at 5 30 12 PM

</dependency>
<dependency>
<groupId>org.codehaus.mojo</groupId>
Expand Down Expand Up @@ -166,6 +169,11 @@
<artifactId>opencensus-impl-core</artifactId>
<version>${opencensus.version}</version>
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
<version>${checker-qual.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>