googleapis / googleapis/google-cloud-java

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

Offen
#11,258 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
priority: p3 type: docs
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

#### 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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.