rules_jvm_external
rules_jvm_external copied to clipboard
Bazel rules to resolve, fetch and export Maven artifacts
This PR enables use of a lock-file for `maven_jar_migrator` repo. This in turn enables caching and reproducible builds.
CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3740#018e5f2f-8012-4d03-a482-1b81bc57c860 Platform: Ubuntu Logs: ``` ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/f4869dab816286661a26d778dac20444/external/io_bazel_rules_scala/third_party/dependency_analyzer/src/main/BUILD:3:9: in scala_library_for_plugin_bootstrapping rule @@io_bazel_rules_scala//third_party/dependency_analyzer/src/main:scala_version: Traceback (most recent call last): File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/f4869dab816286661a26d778dac20444/external/io_bazel_rules_scala/scala/private/rules/scala_library.bzl", line 142, column 22, in _scala_library_for_plugin_bootstrapping_impl return run_phases( File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/f4869dab816286661a26d778dac20444/external/io_bazel_rules_scala/scala/private/phases/api.bzl", line...
I've been for a while struggling with those _extension targets we create, we have a setup where we're using build buddy open source over grpcs for caching and bes. Our...
Artifacts with snapshots follow a different naming scheme than non-snapshoted ones. For snapshotted artifacts, the version component in the URL is the generic *-SNAPSHOT name, whereas the version component in...
[This section of readme](https://github.com/bazelbuild/rules_jvm_external?tab=readme-ov-file#exporting-and-consuming-artifacts-from-external-repositories) is no longer relevant with bzlmod. One thing is that in a MODULE.bazel file you cannot import a constant containing a list of deps. ~~But what's...
Can some documentation be included on the right way to use the module extension when rules_jvm_external is used by multiple dependencies or by a dependency and the root module? Example...
This can be useful for detecting things like annotation processors, and knowing whether a target represents a java_plugin or just a java_library.
It is possible to run Bazel and even build Java projects without installing Java in the system or defining `JAVA_HOME`. For example, consider this dockerfile: ```dockerfile FROM ubuntu:latest RUN