I have a Scala+Maven IDEA module.
In an Application (Run/Debug configurations) if I select "Run Maven Goal" is there any way to define some Maven parameters such as maven profiles or system properties?
The reason: maven scala plugin + fsc works great and I want use it to compile my code in IDEA.
mvn scala:cc -Donce=true works from command line great. What I need is to pass the "-Donce=true" parameter to maven from IDEA "Run Maven Goal" option.
As temporary workaround I added the <once>true</once> to maven pom.xml but this is not a proper workaround.