每次更改代码时,都会清理QUERY DSL目标类 [英] QUERY DSL target classes are cleaned every time I do a code change
问题描述
生成的Qclasses.因此,我必须进行maven更新才能每次生成QClass.有没有更好的方法而不必每次都更新Maven?
generated Qclasses in the target directory is always get cleaned when I do a small code change and save.Therefore I have to do maven updates to generate QClasses every time. Is there a better approach without having to update maven every time?
推荐答案
在回答自己3年后(谢谢您),STS和apt-maven-plugin也遇到了同样的问题.不幸的是1.1.3仍然是当前版本(在我发布此版本时).在此处有一个相关的GitHub问题页面,但由于好吧.
3 years after you answered yourself (thank you btw) I'm experiencing this exact same issue too with STS and the apt-maven-plugin. Unfortunately 1.1.3 is still the current release (at the time I posted this). There is a related GitHub issue page here but it has gone quiet as well.
虽然我很欣赏回滚到1.1.2可以解决问题,但我仍然希望看到插件修复程序或至少对此问题的原因进行了解释.
While I appreciate that rolling back to 1.1.2 makes the problem go away, I'd still like to see a plugin fix or at least an explanation for the cause of this problem.
这篇关于每次更改代码时,都会清理QUERY DSL目标类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!