]> source.dussan.org Git - poi.git/commitdiff
Sonar-Runs: Get rid of shortened stacktraces and permgen error
authorAndreas Beeker <kiwiwings@apache.org>
Sun, 5 Jun 2016 16:23:48 +0000 (16:23 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Sun, 5 Jun 2016 16:23:48 +0000 (16:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746931 13f79535-47bb-0310-9956-ffa450edef68

sonar/main/pom.xml
sonar/ooxml/pom.xml

index 733d123f2da4ad485403d365ceeaad031fba2922..94183174b3617f1231f080e2a8afa6dcf12b27a4 100644 (file)
@@ -22,7 +22,6 @@
                                <executions>
                                        <execution>
                                                <id>copy-sources</id>
-                                               <!-- here the phase you need -->
                                                <phase>generate-sources</phase>
                                                <goals>
                                                        <goal>copy-resources</goal>
@@ -38,7 +37,6 @@
                                        </execution>
                                        <execution>
                                                <id>copy-resources</id>
-                                               <!-- here the phase you need -->
                                                <phase>generate-resources</phase>
                                                <goals>
                                                        <goal>copy-resources</goal>
@@ -70,6 +68,7 @@
                                        </execution>
                                </executions>
                        </plugin>
+
                        <!-- clean copied sources afterwards -->
                        <plugin>
                 <artifactId>maven-clean-plugin</artifactId>
                                        </execution>
                                </executions>
                        </plugin>
+
+            <!-- set jvm parameters for surefire plugin -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.19.1</version>
+                <configuration>
+                    <argLine>-Xmx1024m -XX:MaxPermSize=256m -XX:-OmitStackTraceInFastThrow</argLine>
+                </configuration>
+            </plugin>
                </plugins>
     </build>
 
index d83aab2034abee925730e577fe5198e5e09f3583..269d1dd4672076448a2bf96ade6a7ab7c90ccab8 100644 (file)
@@ -67,6 +67,7 @@
                                        </execution>
                                </executions>
                        </plugin>
+
                        <!-- clean copied sources afterwards -->
                        <plugin>
                 <artifactId>maven-clean-plugin</artifactId>
                     </filesets>
                 </configuration>
             </plugin>                  
+
+
+            <!-- set jvm parameters for surefire plugin -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.19.1</version>
+                <configuration>
+                    <argLine>-Xmx1024m -XX:MaxPermSize=256m -XX:-OmitStackTraceInFastThrow</argLine>
+                </configuration>
+            </plugin>
                </plugins>
     </build>