rules_jvm_external
rules_jvm_external copied to clipboard
Bazel rules to resolve, fetch and export Maven artifacts
#771 enabled manifest stamping by default. This results in mutating third-party jars (which breaks SBOM verification) as well as inserting a "processed_" prefix in all file names. My deployments began...
coursier.bzl contains a reference which is not compatible with bzlmod. Fixes #1118.
Version 6.1 contains an invalid reference in coursier.bzl: ``` label '@@[unknown repo '' requested from @@rules_jvm_external~]//does/not:exist' is not visible ```
We are migrating a Gradle project to Bazel and can't break compatibility with other Java repos that import the Maven artifacts. [Gradle has a concept](https://developer.android.com/build/dependencies#dependency_configurations) of `implementation` dependencies. These dependencies...
Hey folks! It's my first week using `rules_jvm_external`, so pardon my possible misunderstanding. After upgrading to 6.1 from 6.0, I noticed this failure in our workspace: ```shell ERROR: An error...
workspace.bazel file load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") #USE Latest version of RULES_JVM_EXTERNAL RULES_JVM_EXTERNAL_TAG = "5.1" RULES_JVM_EXTERNAL_SHA ="8c3b207722e5f97f1c83311582a6c11df99226e65e2471086e296561e57cc954" #Fetches Extension http_archive( name = "rules_jvm_external", strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG, sha256 = RULES_JVM_EXTERNAL_SHA, url =...
Fixes https://github.com/bazelbuild/rules_jvm_external/issues/1080 https://github.com/bazelbuild/rules_scala/pull/1554#issuecomment-2034705842 CC @c-mita @meteorcloudy
That would allow people to have a nice and simple `MODULE.bazel` file without too much noise. [Possible designs are here](https://docs.google.com/document/d/1bvtA4p5fPbe2d2Exau0kCVe3oE-KfOnNNyuVuBTnIQE/edit#heading=h.yxljvfrucxdy)
I am unable to fetch/build native dependencies using `MODULE.bazel`: ``` ➜ missing_exe_repro bazel build '@maven//:io_grpc_protoc_gen_grpc_java_osx_aarch_64' INFO: Analyzed target @@rules_jvm_external~~maven~maven//:io_grpc_protoc_gen_grpc_java_osx_aarch_64 (0 packages loaded, 2 targets configured). ERROR: /private/var/tmp/_bazel_ekohlwey/88ee695263d2a36f7f8768dd0ebcf2dd/external/rules_jvm_external~~maven~maven/BUILD:221:6: @@rules_jvm_external~~maven~maven//:io_grpc_protoc_gen_grpc_java_osx_aarch_64: missing input...
When bumping up a given library version, we need to repin, i.e dependency management runs again and can take more than 20 min in our case (on a relatively fast...