Possible Duplicate:
Maven Jetty plugin – how to control VM arguments?
In particular, I want to do something like this:
mvn -DjvmArgs="-Xmx2000m -Xms1000m -XX:PermSize=512m -XX:MaxPermSize=512m" jetty:run -Pmyprofile
Oh, and I would like to do this without having to modify the pom files or set any environment variables.. etc
I think
MAVEN_OPTSwould be most appropriate for you. See here: http://maven.apache.org/configure.htmlIn Unix:
In Win, you need to set environment variable via the dialogue box