googleapis / googleapis/google-cloud-java
google-cloud-examples README contains instructions to specify a version that doesn't exist in maven
- Ngôn ngữ chính
- Java
- Star
- 2.1k
- Fork
- 1.2k
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 154
Mô tả
#### 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?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.