Skip to content

Instantly share code, notes, and snippets.

View suztomo's full-sized avatar
🐢

Tomo Suzuki suztomo

🐢
View GitHub Profile
@suztomo
suztomo / gist:34254eebe03c30927a965442ae1a7742
Created April 25, 2022 18:35
error_prone_annotations 2.13.0 and 2.13.1
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce) @ full-convergence-check ---
Warning:
Dependency convergence error for com.google.errorprone:error_prone_annotations:jar:2.13.0:compile paths to dependency are:
+-com.google.cloud:full-convergence-check:pom:0.173.0
+-com.google.cloud:google-cloud-accessapproval:jar:2.2.5:compile
+-com.google.errorprone:error_prone_annotations:jar:2.13.0:compile
and
+-com.google.cloud:full-convergence-check:pom:0.173.0
+-com.google.cloud:google-cloud-accessapproval:jar:2.2.5:compile
+-com.google.api.grpc:proto-google-cloud-accessapproval-v1:jar:2.2.5:compile
@suztomo
suztomo / gist:5c42fb65f9b68a76c2f70117e035863d
Created March 11, 2022 04:14
spring-cloud-gcp-data-firestore-sample failure
suztomo@suztomo:~/spring-cloud-gcp/spring-cloud-gcp-samples/spring-cloud-gcp-data-firestore-sample$ mvn install -Dit.native -Pnative
[INFO] Scanning for projects...
Downloading from spring-milestones: https://repo.spring.io/milestone/com/google/cloud/spring-cloud-gcp-dependencies/3.2.0-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/google/cloud/spring-cloud-gcp-dependencies/3.2.0-SNAPSHOT/maven-metadata.xml
[INFO]
[INFO] ------< com.google.cloud:spring-cloud-gcp-data-firestore-sample >-------
[INFO] Building Spring Cloud GCP Code Sample - Spring Data Firestore 3.2.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from spring-snapshots: https://repo.spring.io/snapshot/com/google/cloud/spring-cloud-gcp-starter-data-firestore/3.2.0-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: https://repo.spring.io/milestone/com/google/cloud/spring-cloud-gcp-starter-data-firestore/3.2.0-SNAPSHOT/maven-meta
@suztomo
suztomo / gist:db6d6f473dfdae0d5485e6a933938e69
Created March 10, 2022 23:02
Spring Cloud GCP Data Firestore Sample with native profile succeeds
suztomo@suztomo:~/spring-cloud-gcp$ gh pr checkout 996
Already on 'revert-817-disable-native-test'
Your branch is up to date with 'origin/revert-817-disable-native-test'.
Already up to date.
suztomo@suztomo:~/spring-cloud-gcp$
suztomo@suztomo:~/spring-cloud-gcp$ ./mvnw \
--batch-mode \
--activate-profiles spring-cloud-gcp-ci-it \
--define maven.javadoc.skip=true \
--define skip.surefire.tests=true \
@suztomo
suztomo / gist:55d8c4c8110e4fd20e3131a2ee6c95f6
Created March 8, 2022 15:34
native-image-support-java/native-image-samples/native-image-samples-spring/spring-cloud-gcp-trace-sample build log
~/native-image-support-java/.../native-image-samples-spring/spring-cloud-gcp-trace-sample $ mvn package -P native git[branch:functions]
[INFO] Scanning for projects...
[INFO]
[INFO] -------------< com.example:spring-cloud-gcp-trace-sample >--------------
[INFO] Building spring-cloud-gcp-trace-sample 0.11.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from spring-release: https://repo.spring.io/release/org/springframework/experimental/spring-aot-maven-plugin/0.10.6/spring-aot-maven-plugin-0.10.6.pom
Downloaded from spring-release: https://repo.spring.io/release/org/springframework/experimental/spring-aot-maven-plugin/0.10.6/spring-aot-maven-plugin-0.10.6.pom (2.6 kB at 3.3 kB/s)
Downloading from spring-release: https://repo.spring.io/release/org/springframework/experimental/spring-native-build/0.10.6/spring-native-build-0.10.6.pom
Downloaded from spring-release: https://repo.spring.io/release/org/springframework/experimental/sprin
@suztomo
suztomo / gist:7e0f75adb6e43ebf803af1952e1cfc89
Created February 28, 2022 17:01
the effective-pom of java-bigquery/google-cloud-bigquery. No checker-qual dependency (except dependencyManagement)
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] ---------------< com.google.cloud:google-cloud-bigquery >---------------
[INFO] Building BigQuery 2.6.3-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-help-plugin:3.2.0:effective-pom (default-cli) @ google-cloud-bigquery ---
@suztomo
suztomo / gist:b9acce2644b4c75286ae20cdda09ba0e
Created February 22, 2022 19:28
The effective-pom of google-cloud-pubsublite not having checker-compat-qual.
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] --------------< com.google.cloud:google-cloud-pubsublite >--------------
[INFO] Building Google Cloud Pub/Sub Lite 1.4.12-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-help-plugin:3.2.0:effective-pom (default-cli) @ google-cloud-pubsublite ---
@suztomo
suztomo / gist:f8dae25b88da5fd8d011dab9bcadba31
Created February 22, 2022 19:16
java-cloud-bom dependency convergence error on checker-compat-qual
Dependency convergence error for com.google.code.gson:gson:jar:2.8.9:compile paths to dependency are:
+-com.google.cloud:full-convergence-check:pom:0.167.1-SNAPSHOT
+-com.google.cloud:google-cloud-accessapproval:jar:2.1.10:compile
+-com.google.code.gson:gson:jar:2.8.9:compile
and
+-com.google.cloud:full-convergence-check:pom:0.167.1-SNAPSHOT
+-com.google.cloud:google-cloud-api-gateway:jar:2.1.8:compile
+-com.google.code.gson:gson:jar:2.8.9:runtime
and
+-com.google.cloud:full-convergence-check:pom:0.167.1-SNAPSHOT
Warning:
Dependency convergence error for com.google.http-client:google-http-client:jar:1.41.2:compile paths to dependency are:
+-com.google.cloud:full-convergence-check:pom:0.167.1-SNAPSHOT
+-com.google.cloud:google-cloud-accessapproval:jar:2.1.10:compile
+-com.google.http-client:google-http-client:jar:1.41.2:compile
and
+-com.google.cloud:full-convergence-check:pom:0.167.1-SNAPSHOT
+-com.google.cloud:google-cloud-aiplatform:jar:2.6.0:compile
+-com.google.http-client:google-http-client:jar:1.41.2:runtime
and
@suztomo
suztomo / gist:357d964089ad6ce049c89eb30f89dd51
Created January 31, 2022 22:34
A Maven project successfully builds dependency graph of beam-sdks-java-io-google-cloud-platform with PR 16672
suztomo@suztomo:~/beam-2.36-conflict$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< org.example:word-count-beam >---------------------
[INFO] Building word-count-beam 0.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ word-count-beam ---
[INFO] org.example:word-count-beam:jar:0.1
[INFO] \- org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.37.0-SNAPSHOT:compile
@suztomo
suztomo / gist:c542c412ebaa104ffd70d68fa5f0cf09
Created December 8, 2021 13:56
Linkage errors from com.oracle.svm
This file has been truncated, but you can view the full file.
2021-12-08T13:42:55.9306734Z [INFO] -------------------------------------------------------
2021-12-08T13:42:55.9309593Z [INFO] T E S T S
2021-12-08T13:42:55.9317971Z [INFO] -------------------------------------------------------
2021-12-08T13:42:56.2734504Z [INFO] Running com.google.cloud.MaximumLinkageErrorsTest
2021-12-08T13:42:56.4222358Z SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2021-12-08T13:42:56.4227450Z SLF4J: Defaulting to no-operation (NOP) logger implementation
2021-12-08T13:42:56.4231695Z SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2021-12-08T13:47:49.9732578Z [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 293.542 s <<< FAILURE! - in com.google.cloud.MaximumLinkageErrorsTest
2021-12-08T13:47:49.9754305Z [ERROR] testForNewLinkageErrors(com.google.cloud.MaximumLinkageErrorsTest) Time elapsed: 293.471 s <<< FAILURE!
2021-12-08T13:47:49.9758611Z java.lang.AssertionError: