Maven: Add jacoco plugin and adjust to apply argLine correctly when calling "mvn jacoco:prepare-agent package jacoco:report jacoco:report-aggregate", however report-aggregate does not seem to work yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776068 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
25b22afebf
commit
06b9fb5999
@ -103,7 +103,7 @@
|
|||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>${maven.plugin.surefire.version}</version>
|
<version>${maven.plugin.surefire.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<argLine>-Duser.language=en -Duser.country=US -Xmx1024m -XX:MaxPermSize=256m -XX:-OmitStackTraceInFastThrow</argLine>
|
<argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -XX:MaxPermSize=256m -XX:-OmitStackTraceInFastThrow</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>${maven.plugin.surefire.version}</version>
|
<version>${maven.plugin.surefire.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<argLine>-Duser.language=en -Duser.country=US -Xmx1024m -XX:MaxPermSize=256m -XX:-OmitStackTraceInFastThrow</argLine>
|
<argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -XX:MaxPermSize=256m -XX:-OmitStackTraceInFastThrow</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
@ -106,7 +106,7 @@
|
|||||||
<org.apache.poi.util.POILogger>org.apache.poi.util.NullLogger</org.apache.poi.util.POILogger>
|
<org.apache.poi.util.POILogger>org.apache.poi.util.NullLogger</org.apache.poi.util.POILogger>
|
||||||
</systemPropertyVariables>
|
</systemPropertyVariables>
|
||||||
<!-- use to following to analyze OOM issues: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -->
|
<!-- use to following to analyze OOM issues: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -->
|
||||||
<argLine>-Duser.language=en -Duser.country=US -Xmx1024m</argLine>
|
<argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m</argLine>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/All*Tests.java</exclude>
|
<exclude>**/All*Tests.java</exclude>
|
||||||
<exclude>**/TestUnfixedBugs.java</exclude>
|
<exclude>**/TestUnfixedBugs.java</exclude>
|
||||||
@ -121,6 +121,11 @@
|
|||||||
<threadCount>10</threadCount-->
|
<threadCount>10</threadCount-->
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.jacoco</groupId>
|
||||||
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
|
<version>0.7.8</version>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
@ -151,7 +156,7 @@
|
|||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.maxmem>512m</maven.compiler.maxmem>
|
<maven.compiler.maxmem>512m</maven.compiler.maxmem>
|
||||||
<argLine>-Xmx768m -XX:MaxPermSize=128m @{argLine}</argLine>
|
<argLine>-Xmx768m -XX:MaxPermSize=128m</argLine>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
@ -165,7 +170,7 @@
|
|||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.maxmem>768m</maven.compiler.maxmem>
|
<maven.compiler.maxmem>768m</maven.compiler.maxmem>
|
||||||
<argLine>-Xmx1024m -XX:MaxPermSize=256m @{argLine}</argLine>
|
<argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user