You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2016/06/05 16:23:48 UTC
svn commit: r1746931 - in /poi/trunk/sonar: main/pom.xml ooxml/pom.xml
Author: kiwiwings
Date: Sun Jun 5 16:23:48 2016
New Revision: 1746931
URL: http://svn.apache.org/viewvc?rev=1746931&view=rev
Log:
Sonar-Runs: Get rid of shortened stacktraces and permgen error
Modified:
poi/trunk/sonar/main/pom.xml
poi/trunk/sonar/ooxml/pom.xml
Modified: poi/trunk/sonar/main/pom.xml
URL: http://svn.apache.org/viewvc/poi/trunk/sonar/main/pom.xml?rev=1746931&r1=1746930&r2=1746931&view=diff
==============================================================================
--- poi/trunk/sonar/main/pom.xml (original)
+++ poi/trunk/sonar/main/pom.xml Sun Jun 5 16:23:48 2016
@@ -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>
@@ -97,6 +96,16 @@
</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>
Modified: poi/trunk/sonar/ooxml/pom.xml
URL: http://svn.apache.org/viewvc/poi/trunk/sonar/ooxml/pom.xml?rev=1746931&r1=1746930&r2=1746931&view=diff
==============================================================================
--- poi/trunk/sonar/ooxml/pom.xml (original)
+++ poi/trunk/sonar/ooxml/pom.xml Sun Jun 5 16:23:48 2016
@@ -67,6 +67,7 @@
</execution>
</executions>
</plugin>
+
<!-- clean copied sources afterwards -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
@@ -84,6 +85,17 @@
</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>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org