The line below creates issue for exports since this is not handled while packaging: https://github.com/vaticle/bazel-distribution/blob/3729c309c6eb34ff5280ca071e5bc281c04715d8/maven/rules.bzl#L211 An example where this breaks is `@io_grpc_grpc_java//stub:javax_annotation` https://github.com/grpc/grpc-java/blob/master/stub/BUILD.bazel Here I get the above error: ``` fail("Unsure how to package dependency for target: %s" % target) ``` and hence I am not able to assemble jars which require building grpc.