-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to download protoc from a maven repo that requires authentication #1563
Comments
Thanks for the ping! Indeed this is tricky: the latest I think it's reasonable for us to want a newer version, but I also think it's reasonable that I'm not aware of any way to inject authentication into I think the most straightforward way to solve this for you right now would be to install protoc locally and configure sbt-protoc to use that instead of relying on protoc-jar - somewhat like how this is documented at https://doc.akka.io/docs/akka-grpc/current/buildtools/sbt.html#using-a-local-protoc-command for ARM builds. Does that help? |
Yes thanks for the quick reply! If we come up with something else I will report back. |
Short description
My company has it's own Artifactory maven repository that requires authentication. After attempting an update to Akka gRPC 2.1.3 the protoc-jar dependency tries to download a newer version of protoc than it has embedded. It attempts to download from the correct URL extracted from the maven settings.xml but does not support authentication and therefore fails with 401. Relevant code
I would appreciate any guidance as I know this is not an easy one.
The text was updated successfully, but these errors were encountered: