[英]How can I make the ProGuard Maven plugin use the most recent ProGuard version?
[英]How do I allocate more memory to Proguard with the Proguard Maven Plugin?
在尝试使用Proguard Maven插件时,我得到OutOfMemoryErrors。 我已经尝试通过将MAVEN_OPTS环境变量设置为-Xmx2g来为Maven分配更多内存,但这没有任何区别。 我假设proguard必须在一个单独的进程中运行。
据我所知,proguard-maven-plugin有一个单独的配置条目:
<plugin>
<groupId>com.pyx4me</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<version>2.0.4</version>
...
<configuration>
<maxMemory>576m</maxMemory>
</configuration>
</plugin>
而你是对的,proguard在分叉的过程中运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.