aboutsummaryrefslogtreecommitdiffstats
path: root/sonar
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2016-06-05 16:23:48 +0000
committerAndreas Beeker <kiwiwings@apache.org>2016-06-05 16:23:48 +0000
commita3baac75a358552af301e6d34b816ef6868b0174 (patch)
tree63068b78f10467939c2a09c0f8795bf2867453a6 /sonar
parentbfa8d11ada481037dd7852bc46f76212acfac57e (diff)
downloadpoi-a3baac75a358552af301e6d34b816ef6868b0174.tar.gz
poi-a3baac75a358552af301e6d34b816ef6868b0174.zip
Sonar-Runs: Get rid of shortened stacktraces and permgen error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746931 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sonar')
-rw-r--r--sonar/main/pom.xml13
-rw-r--r--sonar/ooxml/pom.xml12
2 files changed, 23 insertions, 2 deletions
diff --git a/sonar/main/pom.xml b/sonar/main/pom.xml
index 733d123f2d..94183174b3 100644
--- a/sonar/main/pom.xml
+++ b/sonar/main/pom.xml
@@ -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>
diff --git a/sonar/ooxml/pom.xml b/sonar/ooxml/pom.xml
index d83aab2034..269d1dd467 100644
--- a/sonar/ooxml/pom.xml
+++ b/sonar/ooxml/pom.xml
@@ -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>