rules_jvm_external
rules_jvm_external copied to clipboard
Bazel rules to resolve, fetch and export Maven artifacts
I'm getting random timeout while fetching Maven artifacts in Bazel run. Sometimes it can run successfully within few seconds. I checked my network it is stable with 800Mbps download speed....
When strict dependencies are missing in a bzlmod repository, the message printed is like ``` ** You can use the following buildozer command: buildozer 'add deps @@rules_jvm_external~4.5~maven~maven//:com_google_guava_guava' //client/src/bazel/bootcamp:logger_grpc ```
Hello, I've been playing a bit with Bazel 6, bzlmod and rules_jvm_external over the last two days, and one thing that took me a lot of time to figure out...
does javadoc accept tree_artifact as its input (intermediate files generated) ?
Following the instruction, I am trying to use **examples/spring_boot**. (just automatically used Bazel 6.0.0 with Bazelisk, as Bazel 6.0.0 release was today, hence not identified whether caused by new Bazel...
Repro: ```python # WORKSPACE ################################################################################ # rules_jvm_external ################################################################################ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") RULES_JVM_EXTERNAL_TAG = "4.5" RULES_JVM_EXTERNAL_SHA ="b17d7388feb9bfa7f2fa09031b32707df529f26c91ab9e5d909eb1676badd9a6" http_archive( name = "rules_jvm_external", strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG, sha256 = RULES_JVM_EXTERNAL_SHA, url = "https://github.com/bazelbuild/rules_jvm_external/archive/refs/tags/%s.zip"...
Use the most recently release 4.5, then build a library, it will produce two jars, libxxx-lib.jar and xxx-project.jar. The libxxx-lib.jar contains directory entries, but the xxx-project.jar doesn't have. The problem...
I would love to have documentation for where `coursier`/`rules_jvm_external` saves JARs by default. Given that bazel does not store these in the remote cache, documenting this location would be useful...
Repro : Specify `androidx.lifecycle:lifecycle-process:2.5.1` in the list of deps, and pin version -> the generated maven_install.json doesn't include all transitive deps for this library. Additional info : - coursier is...
Using this workspace file and Bazel 5.3 on MacOS ``` workspace( name = "maven_workspace", ) load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") RULES_JVM_EXTERNAL_TAG = "4.5" RULES_JVM_EXTERNAL_SHA = "b17d7388feb9bfa7f2fa09031b32707df529f26c91ab9e5d909eb1676badd9a6" http_archive( name = "rules_jvm_external", strip_prefix = "rules_jvm_external-%s"...