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> <executions>
<execution> <execution>
<id>copy-sources</id> <id>copy-sources</id>
<!-- here the phase you need -->
<phase>generate-sources</phase> <phase>generate-sources</phase>
<goals> <goals>
<goal>copy-resources</goal> <goal>copy-resources</goal>
@ -38,7 +37,6 @@
</execution> </execution>
<execution> <execution>
<id>copy-resources</id> <id>copy-resources</id>
<!-- here the phase you need -->
<phase>generate-resources</phase> <phase>generate-resources</phase>
<goals> <goals>
<goal>copy-resources</goal> <goal>copy-resources</goal>
@ -70,6 +68,7 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!-- clean copied sources afterwards --> <!-- clean copied sources afterwards -->
<plugin> <plugin>
<artifactId>maven-clean-plugin</artifactId> <artifactId>maven-clean-plugin</artifactId>
@ -97,6 +96,16 @@
</execution> </execution>
</executions> </executions>
</plugin> </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> </plugins>
</build> </build>

View File

@ -67,6 +67,7 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!-- clean copied sources afterwards --> <!-- clean copied sources afterwards -->
<plugin> <plugin>
<artifactId>maven-clean-plugin</artifactId> <artifactId>maven-clean-plugin</artifactId>
@ -84,6 +85,17 @@
</filesets> </filesets>
</configuration> </configuration>
</plugin> </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> </plugins>
</build> </build>