poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1746931 - in /poi/trunk/sonar: main/pom.xml ooxml/pom.xml
Date Sun, 05 Jun 2016 16:23:48 GMT
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


Mime
View raw message