Add -D command line options to Maven "Build module"
已回答
I am working with microprofile Quarkus, which by default, builds using native mode. To disable that so I can debug in IDEA, I need to add a -Dno-native option
请先登录再写评论。
There is no way to pass command-line options like you do for the shell script since IntelliJ IDEA is not calling Maven shell script directly, it calls it via Java API.
As a workaround, you can create Maven run configuration for that: