googleapis / googleapis/google-cloud-java

google-cloud-examples README contains instructions to specify a version that doesn't exist in maven

オープン
#11,258 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p3 type: docs
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

#### Steps to reproduce

1. Follow the instructions in google-cloud-examples README (https://screenshot.googleplex.com/6ZxJY8mKkkyrb5y)
2. Build results in errors (https://screenshot.googleplex.com/AumWCHbmc2LiUJK)
3. Notice that the version is missing in the maven repository (https://screenshot.googleplex.com/9UUnG4DAFJFikhS)

#### Any additional information below

To get around the error, my quick-fix was to set the version to 0.47.0-alpha ([the latest version that exists](https://screenshot.googleplex.com/9UUnG4DAFJFikhS)). Then I was able to run:
https://github.com/googleapis/google-cloud-java/blob/main/google-cloud-examples/src/main/java/com/google/cloud/examples/language/snippets/AnalyzeSentiment.java
https://github.com/googleapis/google-cloud-java/blob/main/google-cloud-examples/src/main/java/com/google/cloud/examples/logging/LoggingExample.java
https://screenshot.googleplex.com/6GXRe6rtUkcqq9P

If the repo is not under active development, then perhaps we can just update the version to 0.47.0-alpha (so that the build error is gone) and say "Following java-docs-samples is recommended" in README?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。