Hi, I'm trying to use bazel's external dependencies system, but it looks like it's not picking up my proxy settings.
This is the version that I'm using:
Build label: 0.3.0
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Jun 10 11:38:23 2016 (1465558703)
Build timestamp: 1465558703
Build timestamp as int: 1465558703
My proxy settings seem to be set:
$ echo $http_proxy $https_proxy
http://squid-inet.ac.internal:3128 http://squid-inet.ac.internal:3128
And, this is in my WORKSPACE file:
maven_jar(
name = "com_google_guava_guava",
artifact = "com.google.guava:guava:18.0",
sha1 = "cce0823396aa693798f8882e64213b1772032b09",
)
However, when I do a bazel build, I get an error that it couldn't connect to maven:
BUILD:18:1: no such package '@com_google_guava_guava//jar': Failed to fetch Maven dependency: Could not transfer artifact com.google.guava:guava:jar:18.0 from/to com_google_guava_guava (https://repo1.maven.org/maven2/): Connect to repo1.maven.org:443 timed out and referenced by
What could be the issue here?
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/454ffbab-6adb-48ba-afee-b8df94968b55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I also get "Failed to fetch Maven dependency" behind company proxy. I think it's a problem with telling bazel to use settings.xml for maven external dependency.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/88e9db91-88bd-45e2-a1df-7f2f222a9c99%40googlegroups.com.