Skip to content

Commit f0dc278

Browse files
authored
chore: fix broken links in README.md (#1776)
* chore: fix cloud cli link in `README.md` * Revert "chore: fix cloud cli link in `README.md`" This reverts commit c8bcf7c. * chore: fix cloud cli link in README.md * cap letters * fix maven version link
1 parent 7899bce commit f0dc278

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • synthtool/gcp/templates/java_library

synthtool/gcp/templates/java_library/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The client application making API calls must be granted [authorization scopes][a
8888
You will need a [Google Cloud Platform Console][developer-console] project with the {{metadata['repo']['name_pretty']}} [API enabled][enable-api].
8989
{% if metadata['repo']['requires_billing'] %}You will need to [enable billing][enable-billing] to use Google {{metadata['repo']['name_pretty']}}.{% endif %}
9090
[Follow these instructions][create-project] to get your project set up. You will also need to set up the local development environment by
91-
[installing the Google Cloud SDK][cloud-sdk] and running the following commands in command line:
91+
[installing the Google Cloud Command Line Interface][cloud-cli] and running the following commands in command line:
9292
`gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.
9393

9494
### Installation and setup
@@ -238,14 +238,14 @@ Java is a registered trademark of Oracle and/or its affiliates.
238238
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/{{ repo_short }}/java11.html
239239
[stability-image]: https://img.shields.io/badge/stability-{% if metadata['repo']['release_level'] == 'stable' %}stable-green{% elif metadata['repo']['release_level'] == 'preview' %}preview-yellow{% else %}unknown-red{% endif %}
240240
[maven-version-image]: https://img.shields.io/maven-central/v/{{ group_id }}/{{ artifact_id }}.svg
241-
[maven-version-link]: https://search.maven.org/search?q=g:{{ group_id }}%20AND%20a:{{ artifact_id }}&core=gav
241+
[maven-version-link]: https://central.sonatype.com/artifact/{{ group_id }}/{{ artifact_id }}/{{ metadata['latest_version'] }}
242242
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
243243
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
244244
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
245245
[iam-policy]: https://cloud.google.com/iam/docs/overview#cloud-iam-policy
246246
[developer-console]: https://console.developers.google.com/
247247
[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects
248-
[cloud-sdk]: https://cloud.google.com/sdk/
248+
[cloud-cli]: https://cloud.google.com/cli
249249
[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/main/troubleshooting/readme.md#troubleshooting
250250
[contributing]: https://github.com/{{metadata['repo']['repo']}}/blob/main/CONTRIBUTING.md
251251
[code-of-conduct]: https://github.com/{{metadata['repo']['repo']}}/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct

0 commit comments

Comments
 (0)