Browse Source

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
tags/REL_3_15_BETA2
Andreas Beeker 8 years ago
parent
commit
a3baac75a3
2 changed files with 23 additions and 2 deletions
  1. 11
    2
      sonar/main/pom.xml
  2. 12
    0
      sonar/ooxml/pom.xml

+ 11
- 2
sonar/main/pom.xml View 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>
@@ -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>


+ 12
- 0
sonar/ooxml/pom.xml View File

@@ -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>


Loading…
Cancel
Save