rules_jvm_external
rules_jvm_external copied to clipboard
Bazel rules to resolve, fetch and export Maven artifacts
Example repo: https://github.com/vinnybod/bazel_java_example/tree/javadocs-srcs-issue ## Background This is an example project that uses `java_export` to generate maven artifacts (pom, docs, etc). It imports a `neverlink` (compile-only) dependency, which causes the `javadoc`...
This fixes https://github.com/bazelbuild/rules_jvm_external/issues/1154 It seems like a bug that scope was being considered in the maven coordinates. I couldn't find any examples of that being the case. But it is...
We specify credentials for a private repo in additional_netrc_lines. These work for regular fetch. But they are not passed to coursier for repin operations. Setting COURSIER_CREDENTIALS="repo user:pass" envvar prior to...
Description: We upgrade to release 6.3 and we got error `java.lang.ClassNotFoundException: edu.umd.cs.findbugs.LaunchAppropriateUI ` from spotbugs. It looks this [commit](https://github.com/bazelbuild/rules_jvm_external/commit/6ccd884724480828ed5947dad03ece4560f1d7dc) causes the issue. We are able to reproduce it with a...
Version: 6.3 Reproduction: - use java_export for a .Java file that has wrong "@links" in the JavaDoc - build "..-doc" target Workaround: set javadocopts to expected defaults (or just to...
The new release should include: https://github.com/bazelbuild/rules_jvm_external/pull/1226 The PR makes it possible to use a single rules_java version on Bazel 6.x and 7.
BOM files from `bazel_dep`s should have higher precedence than those from the root module. I assume that this is currently just using the default module order, which is BFS[^1]. This...
This rule is useful for publishing BOM files generated by means other than `maven_bom`.
When using bzlmod, you can use `maven.install` fetch the source code but cannot set `"testonly"`, or use `maven.artifact`set `"testonly"` but cannot fetch the source code. This used to be possible...
I'm seeing this issue with rules_jvm_external 6.1 and also 6.2: ``` set REPIN=1 bazel run @maven//:pin ERROR: Traceback (most recent call last): File "D:/udu/b/qpawu7hm/external/rules_jvm_external~/private/extensions/maven.bzl", line 438, column 45, in _maven_impl...