How to control VM arguments for maven-jetty-plugin?

后端 未结 9 2205
鱼传尺愫
鱼传尺愫 2020-11-29 23:04

How to set VM arguments for Jetty run from maven-jetty-plugin?

For example, I need to pass -Xmx arguments to Jetty run by the mvn jetty:run

9条回答
  •  北海茫月
    2020-11-29 23:30

    To specify vm arguments via the command line (as originally asked) you can do the following:

    mvn clean install -DargLine="-Xmx1524m" 
    

提交回复
热议问题