How to set -XX:PermSize=64m in maven-compiler-plugin?
问题 I faild in setting the permsize or maxpermsize with the maven-compiler-plugin (v3.2). I tried it like this: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <meminitial>1024m</meminitial> <maxmem>2024m</maxmem> <compilerArgument>-XX:PermSize=128m</compilerArgument> </configuration> </plugin> Which results in an error Caused by: org.codehaus.plexus.compiler.CompilerException: invalid flag: -XX:MaxPermSize=256m -XX:PermSize=128m