Supply JVM args to command line "mvn scala:run"

403 views Asked by At

I am trying to launch a Scala application with the scala-maven-plugin. I can execute with

mvn scala:run -DmainClass=... -DaddArgs=...

but I would like to add JVM args to the command line as well. It looks like this can be done with launch configuration in the POM, but I'd like to do it entirely from the command line. Is there any way to do this?

0

There are 0 answers