rules_jvm_external
rules_jvm_external copied to clipboard
Ensure native rules find `maven_project_jar` in runfiles
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
.