Open dpratt opened 5 years ago
@sergei-ivanov any hope for this? We're currently using this feature, and it would be helpful having it released.
@sergei-ivanov, I see no release since October 2018, almost 2.5 years ago. Do you intend to continue your excellent work, or have you moved on to other projects taking all your time - and this fork can be considered dead?
Regards
…toc.
The protobuf plugin does not allow for custom plugins to be supplied to a single protoc that includes the main java stub generation. This ends up being a problem for plugins that utilize features like protobuf's extension point support, since they rely on protoc to supply info about where it's main phase has emitted Java code.
Instead of relying on the compile-custom goal to execute a new, distinct follow-on execution of protoc, allow for elements in the
configuration of the main compile task to augment the arguments passed
to protoc. For example, after this commit, you can do the following
With the above configuration, maven generates and executes a command line that looks like
which allows for plugins to have full access to the entire protoc generation context.