How to run Java codegen as part of Maven compilation

Note that that requirement is not to run the codegen, but rather to be able to compile the output of the codegen. If you want to run this automatically, you would have to make a Maven plugin that runs the codegen itself and make your compile phase depend on that.

1 Like