rules_jvm_external
rules_jvm_external copied to clipboard
License information
I'm curious to know if handling 3rd party software licenses is on the roadmap and what the recommended ways of handling licenses are.
Ideally the generated targets would use rules_license to specify what licenses they're using and we'd get an easy way to check licenses and gather license information. I see that rules_license is still under development and that there is also a possibly pending Bazel External Dependencies Overhaul which might affect how licenses are configured (and this project in a big way). Alternatively the rules could pick up licenses in the POM files and publish those in tags
, in addition to maven_coordinates
.
There is an override_license_types
argument in the maven_artifact
spec which doesn't seem to do much. I'm assuming the autodetection was not implemented.
https://github.com/bazelbuild/rules_jvm_external/blob/5fe826e1757815699a8fdb302512dbb385d7752b/specs.bzl#L44