Make protos available in Maven
|Assignee:||J. Wienke||% Done:|
|Target version:||Robotics Service Bus - rsb-0.11|
I suggest to either package protos into the existing rst jar or deploy a separate jar containing only the proto files. This is important for users of rst-java if the want to develop new types which depend on rst protos. Right now they have to rely on a local installation of rst-proto which is against the maven spirit. A protos-jar would enable maven developers to download and unpack them dynamically at compile time.
fixes #1761: include protos in jars
Include the proto files in the generated jar files.
#2 Updated by L. Ziegler over 7 years ago
I attached an example project that actually works if the (also attached) rst-proto project is installed to the local repository. Note that the standard maven repositories do not contain a working protoc plugin right now. That's why I have to go the detour using a script to call protoc.