rules_jvm_external icon indicating copy to clipboard operation
rules_jvm_external copied to clipboard

Ensure native rules find `maven_project_jar` in runfiles

Open fmeum opened this issue 2 years ago • 0 comments

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 jar generated by maven_project_jar and hence java_export from runfiles.

Until the upstream bug has been fixed, this is worked around by adding the files to data_runfiles.

fmeum avatar Oct 19 '22 10:10 fmeum