googleapis / googleapis/google-cloud-java
google-cloud-examples README contains instructions to specify a version that doesn't exist in maven
- Lingua principale
- Java
- Stelle
- 2.1k
- Fork
- 1.2k
- Merge medio
- 1g 23h
- PR unite (30g)
- 154
Descrizione
#### 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?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.