xolstice / protobuf-maven-plugin

Maven Plugin that executes the Protocol Buffers (protoc) compiler
https://www.xolstice.org/protobuf-maven-plugin/
Other
236 stars 77 forks source link

Protocol Buffers always recompile even when nothing changed #17

Closed dminkovsky closed 7 years ago

dminkovsky commented 7 years ago

First: thank you for this plugin!

I am wondering: is there a way to prevent this plugin for compiling on every build, even when nothing changed? Because that is what happens for me. Not sure why.

sergei-ivanov commented 7 years ago

Hi,

Yes, there is a mechanism for that. It is off by default (for reasons lost to the history), but it can be easily activated. Please check out the usage page, Suppressing Compilation Of Unchanged Definitions section.

Best wishes, Sergei

dminkovsky commented 7 years ago

Oh that is great to see. Sorry I missed that (I did look). Thank you.