-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
APIs requires auth dependencies to work correctly #2192
Comments
google-cloud-errorreporting
requires auth dependencies to work correctly
@jabubake Is this a documentation issue or something needs to be changed in the pom? |
This sounds like a severe issue I will mark this as P1 |
in the pom. |
Same is true for google-cloud-language as well. |
google-cloud-errorreporting
requires auth dependencies to work correctly
I went ahead and put together a PR to include the auth dependency. |
Once this issue resolves, we'll need to update the language sample's POM. |
@neozwu : DLP API as well. |
I believe the root cause is that Maven is making a bad, bad choice when resolving this dependency. If maven used the latest version in the tree (which Gradle does), we would not be seeing this issue; we do indeed have the latest version in the dependency tree. |
It sounds like something is listed twice and picking the wrong one. |
Potentially we could subvert Maven's dependency choice by putting the google-auth-library-java dependency in google-cloud-core-grpc. We would have to experiment and see if that fixes the problem. |
I'm working on migrating from maven to gradle. This would be something the migration should take care of. |
Consumers of google-cloud-java using Maven will likely still hit this issue even if we are using Gradle. |
@neozwu : +1 to what @garrettjonesgoogle just said. |
Using only
com.google.cloud:google-cloud-errorreporting:0.20-alpha
:Current workaround is to include :
The text was updated successfully, but these errors were encountered: