Answering my own question :-)

Think I found what I need in the Maven plugin docs:

Normally this plug-in executes the protoc compilation on every
this can be overriden by setting:


On May 25, 9:43 pm, Maurice Nicholson <>
> Hi all,
> is there an option for protoc to only generate files if the target
> generated sources are out of date? (Currently it seems as if they are
> always regenerated).
> We actually use Maven with the maven-protoc-plugin to build our
> project, but I believe that's simply a wrapper around protoc itself.
> Thanks,
> Maurice

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to