Specifically, I run the launch4j-maven-plugin plugin to generate me an .exe file. This only works on Windows, so I was wondering if I could \'opt-o
launch4j-maven-plugin
.exe
You can wrap that plugin under separate build profile and just enable that profile on the build that you want
For example:
... generate-exe ... ...
Now pass parameter while launching maven to specify profile
mvn clean install -Pgenerate-exe