]> source.dussan.org Git - poi.git/commitdiff
Check if user properties are picked up on maven build
authorAndreas Beeker <kiwiwings@apache.org>
Sun, 5 Jun 2016 11:53:28 +0000 (11:53 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Sun, 5 Jun 2016 11:53:28 +0000 (11:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746901 13f79535-47bb-0310-9956-ffa450edef68

sonar/pom.xml

index d66c05d943a4dbebc86c028f7be389c18311b6fe..0ad1edd20cdb9246f03cc0a30823c9468446e41b 100644 (file)
                <!-- We need a fair amount of memory to compile the xml schema, -->
                <!-- but limit it in case it goes wrong!                        -->
                <!-- Pick the right amount based on 32 vs 64 bit jvm            -->
+        <!-- ********************************************************** -->
+        <!-- If you are using IntelliJ, you might want to check         -->
+        <!-- http://stackoverflow.com/questions/24115142                -->
+        <!-- ********************************************************** -->
                <profile>
                        <id>32bitstuff</id>
                        <activation>
                        </activation>
                        <properties>
                                <maven.compiler.maxmem>512m</maven.compiler.maxmem>
+                <argLine>-Xmx768m -XX:MaxPermSize=128m @{argLine}</argLine>
                        </properties>
                </profile>
                
                        </activation>
                        <properties>
                                <maven.compiler.maxmem>768m</maven.compiler.maxmem>
+                <argLine>-Xmx1024m -XX:MaxPermSize=256m @{argLine}</argLine>
                        </properties>
                </profile>