I\'m experimenting with Protocol Buffers in an existing, fairly vanilla Maven 2 project. Currently, I invoke a shell script every time I need to update my generated sources. Thi
There is a maven plugin for protobuf. https://www.xolstice.org/protobuf-maven-plugin/usage.html
The minimal config
org.xolstice.maven.plugins protobuf-maven-plugin 0.5.0 /usr/local/bin/protoc compile test-compile