-
Notifications
You must be signed in to change notification settings - Fork 506
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
Bazel Build Maven Fetch Error #3157
Comments
@fsharpasharp Are you also facing this issue? |
I am also facing this issue @anandwana001. |
Given that Bazel mostly guarantees a deterministic build graph, my best initial guess is that something change on the Maven repo's side that's causing our maven_install rule to fail. Unfortunately, it seems that no one has reported this yet or I'm having difficulty tracking down an issue number for it. |
Hmm still not sure why this is a new issue, but it appears to be a bug with Coursier (which rules_jvm uses underneath): #1972. Need to find a version of rules_jvm to upgrade to to get that fix. |
Right now, my bazel running on below, it might work. "rules_jvm": {
"sha": "f04b1466a00a2845106801e0c5cec96841f49ea4e7d1df88dc8e4bf31523df74",
"version": "2.7",
}, maven_install(
artifacts = DAGGER_ARTIFACTS + get_maven_dependencies(),
fetch_sources = True,
repositories = DAGGER_REPOSITORIES + [
"https://jcenter.bintray.com/",
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
) update |
Hmm--I thought we needed jcenter for some of our dependencies per #2923. We should be also migrating Gradle off of jcenter to avoid disparity between the two (especially since some dependencies will need to be migrated to make this work). |
Bintray is no more a repository source in rules jvm - bazelbuild/rules_jvm_external#517 |
* bazel maven fix * revert rules_jvm change
Describe the bug
Currently, Bazel build is causing error while fetching Maven dependencies on GitHub actions as well as on local Bazel build.
Expected behavior
Bazel build should fetch Maven dependencies without throwing any error.
Additional context
Digging deep
/private/var/tmp/_bazel_akshaynandwana/0e0a7569f455d331a530cc35527abf40/external/rules_jvm_external/coursier.bzl
The text was updated successfully, but these errors were encountered: