igor-petruk/protobuf-maven-plugin — pull request #19 by buffetboy2001 (2014-09-24 21:39:07+00:00)
Title: expanded to support all languages supported by protoc

Hi, I've modified the mojo slightly to also support C++ and Python output in the configuration section of the pom (example below). They are set to false by default. The Java output remains defaulted to true. So, there should be no backward compatibility issues for users. I also bumped the version to 0.6.5-SNAPSHOT because this represents an enhancement.

This modification is very useful. One of the purposes of proto buffers is the ability to de/serialize across languages. My project, for instance, requires a C++ and a Java application to share network messages. In order to do this seamlessly, we use proto buffers and auto-compile to both Java and C++. With your maven plugin and my modifications, the compile process is as simple as 'mvn compile'. Thanks for making a very useful maven plugin.

Example usage for all three output types at once:

com.github.igor-petruk.protobuf
protobuf-maven-plugin
0.6.5-SNAPSHOT

true
true
true

run