Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

"Cannot determine the default location of the Google Cloud SDK" w/ deb package #98

Open
epall opened this issue Aug 16, 2016 · 3 comments
Assignees

Comments

@epall
Copy link

epall commented Aug 16, 2016

I installed the Google Cloud SDK for Ubuntu by following the Ubuntu Quickstart. This installed the SDK to /usr/lib/google-cloud-sdk. When I ran "mvn gcloud:deploy", it failed with the error message "Cannot determine the default location of the Google Cloud SDK" and a reference to "/usr/local/share/google/google-cloud-sdk". Looks like the code in Utils.java expects me to follow the "Quickstart for Linux" and extract the tarball in my home directory.

This creates a pretty poor initial experience for an Ubuntu/Debian user: they follow the instructions and wind up with a non-working installation, then have to go chase down this gcloud_directory thing, only to discover that installing components is disabled and they shouldn't have done it that way in the first place.

@ludoch ludoch self-assigned this Aug 16, 2016
@ludoch
Copy link
Contributor

ludoch commented Aug 16, 2016

You can use for now the gcloud_directory parameter described in the README at https://github.com/GoogleCloudPlatform/gcloud-maven-plugin.

Is is already woking with the new Cloud SDK maven plugin? This one will be deprecated in the future.

ludoch added a commit that referenced this issue Aug 16, 2016
@ludoch
Copy link
Contributor

ludoch commented Aug 16, 2016

A fix will be in the next release.

@ghost
Copy link

ghost commented Mar 19, 2018

Im having a similar issue on windows, I've added to the pom file, I have the java engine installed and google cloud sdk installed and added to the path variable.... Any thoughts why it might not be working? @ludoch any help much appreciated

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants