How to include Jooq Code generation in final build

安稳与你 提交于 2021-02-05 09:19:07

问题


I'm using Jooq code generation but I don't include all its java class in source control. That is when one of the developrts pull the code from get he has to run code generation to be up to date with the db schema But how to include it in the final jar?


回答1:


There's no difference between that developer that has to run the code generation, and the build server producing the jar files that has to run code generation. Anyone building your application will need to generate code during the build if you do not want to check in your generated sources as a library.

Some more information on using jOOQ's code generator with version control can be found here.



来源:https://stackoverflow.com/questions/63412774/how-to-include-jooq-code-generation-in-final-build

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!