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
This commit is contained in:
Andreas Beeker 2016-06-05 16:23:48 +00:00
parent bfa8d11ada
commit a3baac75a3
2 changed files with 23 additions and 2 deletions

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>

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>