diff options
Diffstat (limited to 'sonar/main/pom.xml')
-rw-r--r-- | sonar/main/pom.xml | 13 |
1 files changed, 11 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> |