Hello,

I followed the example of integrating the code generation with maven 
[1]<http://www.jooq.org/doc/3.3/manual/code-generation/codegen-configuration/#N133F7>
 and 
it works
perfectly. In the example jOOQ's code generation hooks into the generate 
goal, and
therefore whenever I run "mvn compile", the code generation is performed.
However, for me it would be nicer to run the code generation manually, 
because my
database schema doesn't change that often and therefore it is not really 
necessary
to generate the code over and over again. Moreover the code generation 
slows down
the build process a bit, so I would like to avoid running it in very build.

So my real question is: is it possible to execute jOOQ's code generation 
manually
using maven? Something like "maven jooq:generate"?

I'm not a maven expert and maven has always been somewhat of a mystery to 
me.
It might very well be the case that this is just trivial, but after 
googling a bit I couldn't
find a straightforward way. So if someone could point me to a good resource 
to read,
I would be very grateful.

cheers,
kevin

[1] 
http://www.jooq.org/doc/3.3/manual/code-generation/codegen-configuration/#N133F7

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to