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 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: docs
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
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 摘要。