Hi Mike,

Great discussion. It would be nice if there was
a protoc Maven plugin:

http://sergei-ivanov.github.io/maven-protoc-plugin/usage.html


Looks like there is. My suggestion:

1. use a Profile, something like -Pwith-mesos and
then when activated;
2. call the above plugin if -Pwith-mesos is activated
in the resource manager

Sound good?

Cheers,
Chris

------------------------
Chris Mattmann
chris.mattm...@gmail.com




-----Original Message-----
From: Michael Starch <starc...@umich.edu>
Reply-To: <dev@oodt.apache.org>
Date: Wednesday, November 5, 2014 at 11:46 AM
To: <dev@oodt.apache.org>
Subject: Extra Compiler Tools

>All,
>
>I am trying to integrate apache-mesos with our resource manager. However,
>mesos uses a technology called "protobuff" from Google for
>marshaling/unmarshaling data.
>
>This requires running a tool called "protoc" to generate a source file in
>java.  What is the best way to integrate this step into our build process?
>
>Options I can conceive of:
>   -Check in generated java file
>   -Require "protoc" installation to build resource manager
>   -Separate extra resource package into new module
>
>None of these ideas are very clean.
>
>Any other ideas?  I tried setting up a profile to only compile these
>sources when selected, but that turned out not to work.
>
>-Michael Starch


Reply via email to