Parametrizable Run Maven Goal in Application?

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.

Any suggestions?

1 comment
Comment actions Permalink

Hi,

There is no such functionality at the moment.
Please vote for http://youtrack.jetbrains.net/issue/IDEA-51420.

Thanks,
Anton Makeev

0

Please sign in to leave a comment.