Add -D command line options to Maven "Build module"
Answered
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
Please sign in to leave a comment.
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: