Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我在导出的 shell 变量中指定给定的最大堆大小和 perm gen 大小,JAVA_OPTS或者MAVEN_OPTSMaven 构建分叉 JVM,当我运行我的从外壳构建?
JAVA_OPTS
MAVEN_OPTS
不,他们不会继承。这是 Maven 插件的常见问题;它们通常有一个参数(例如 surefire's argLine),可以让您指定所需的 JVM 选项。
argLine