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

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



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

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



Loading…
Cancel
Save