-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
mvn clean install fails like so:
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.207 s <<< FAILURE! - in com.google.cloud.devtools.containeranalysis.v1.GrafeasInteropTest
[ERROR] createsGrafeasClient(com.google.cloud.devtools.containeranalysis.v1.GrafeasInteropTest) Time elapsed: 0.206 s <<< ERROR!
java.io.IOException: The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
at com.google.cloud.devtools.containeranalysis.v1.GrafeasInteropTest.createsGrafeasClient(GrafeasInteropTest.java:30)
I can probably figure this out, but we should update the CONTRIBUTING.md in google-cloud-java with the necessary steps.