rules_jvm_external
rules_jvm_external copied to clipboard
Bazel rules to resolve, fetch and export Maven artifacts
Due to https://github.com/bazelbuild/bazel/issues/15043, Bazel's native rule such as `sh_test` do not pick up `files` in `DefaultInfo` for a target in `data`. This can lead to the unexplicable absence of the...
Turns out that if we serialise things the same way, the lock files will be the same no matter whether you're using bzlmod or a regular bazel build to (uh)...
It'd be great if `java_export` can push to `artifactregistry://`, in addition to S3 (#545) and GCS(#458) https://github.com/GoogleCloudPlatform/artifact-registry-maven-tools
As described in #574 there is a situation where we depend on a private repository which requires authentication, and that authentication is provided through coursier properties files. In this case...
#285 introduced `Target-Label` "stamping" that is used to produce missing strict an unused dependency warnings as described in #283. #293 changed the implementation from using `singlejar` to `jar umf`. The...
Hi, I investigated an issue with coursier fetch on MacBook hosts without installed `java` and discovered that it fails with: ```bash ERROR: /Users/d.poluyanov/crpt/workspace/WORKSPACE:68:26: fetching coursier_fetch rule //external:unpinned_maven: Traceback (most recent...
https://buildkite.com/bazel/rules-jvm-external/builds/2863#0183343b-7e38-4000-9d63-fa5cabe366f8 ``` INFO: Found 1 target... ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/ec321eb2cc2d0f8f91b676b6d4c66c29/external/rules_jvm_external_deps/BUILD:1164:11: Creating compile jar for @rules_jvm_external_deps//:javax_annotation_javax_annotation_api [for host] failed: (Aborted): AddJarManifestEntry failed: error executing command bazel-out/host/bin/private/tools/java/rules/jvm/external/jar/AddJarManifestEntry --source ... (remaining 6 arguments skipped) Use...
Getting errors with a clean installation using bazel 5.3.0 and the latest commit from `master` on both debian and mac. **mac os 12.6, azul jdk 11** ``` $ bazel test...
Would be useful to prevent users from having to install a JVM when contributing -- and to use a standard JVM version (as opposed to what is installed on their...
Repro and differences: https://github.com/aryeh-looker/bazel-circular-deps Perhaps the rules could be modified to automatically resolve circular dependency conflicts when presented or documentation could be added to the repro and to error messages.