QUERY DSL target classes are cleaned every time I do a code change

故事扮演 提交于 2021-02-11 09:58:53

问题


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?


回答1:


Issue solved by rolling back to version 1.1.2 of maven apt plugin from version 1.1.3




回答2:


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.

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.



来源:https://stackoverflow.com/questions/42265583/query-dsl-target-classes-are-cleaned-every-time-i-do-a-code-change

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