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

0
1 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: 

0

Please sign in to leave a comment.