As part of the protobuf shading work, I need to amend the build step that builds protobuf sources. For the module used by hbase internally – the one that has our protos and that does the protobuf shading – I need to enhance the generate protobuf sources step to also do:
- Shading/relocating so we avoid clashing with protos used by CPEPs out in the hbase-protocol module.
- Pulling down the protobuf lib and including its sources to make IDEs happy else they'll moan about missing (shaded) protobuf.
- A hook that allows us to patch protobuf lib, at least temporarily until our needed changes make it upstream.