I am using hibernate-jpamodelgen to generate static classes for my entities. When I run "mvn clean install" with vm options "-Duser.language=en -Duser.country=US", the classes are generated correctly, but when I run "build and run" command in Intellij Idea, it builds project and generates problematic characters in static files. My default Locale is tr_TR.
problematic-character

For now, i can run the project by build with maven ["clean install" + vm options] configuration in Intellij and run it with [Do not build before run] option in Intellij. How can I configure the project structure and settings to ensure proper build operation of the project and generate proper classes