diff options
author | Dominik Stadler <centic@apache.org> | 2016-12-26 19:51:47 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2016-12-26 19:51:47 +0000 |
commit | 9511afda9976e4c80bc3c5261b723ea281de818e (patch) | |
tree | e6f310841d50adca165787330655335cf52ba3b9 /sonar | |
parent | 219b0ab6911a8844c7455d17432f35aaa034ffb2 (diff) | |
download | poi-9511afda9976e4c80bc3c5261b723ea281de818e.tar.gz poi-9511afda9976e4c80bc3c5261b723ea281de818e.zip |
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
Diffstat (limited to 'sonar')
-rw-r--r-- | sonar/main/pom.xml | 2 | ||||
-rw-r--r-- | sonar/ooxml/pom.xml | 2 | ||||
-rw-r--r-- | sonar/pom.xml | 11 |
3 files changed, 10 insertions, 5 deletions
diff --git a/sonar/main/pom.xml b/sonar/main/pom.xml index 7a9da5ae09..f3e05f2f2a 100644 --- a/sonar/main/pom.xml +++ b/sonar/main/pom.xml @@ -103,7 +103,7 @@ <artifactId>maven-surefire-plugin</artifactId> <version>${maven.plugin.surefire.version}</version> <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> </plugin> </plugins> diff --git a/sonar/ooxml/pom.xml b/sonar/ooxml/pom.xml index e7ffcc2d11..c5f0adaf02 100644 --- a/sonar/ooxml/pom.xml +++ b/sonar/ooxml/pom.xml @@ -93,7 +93,7 @@ <artifactId>maven-surefire-plugin</artifactId> <version>${maven.plugin.surefire.version}</version> <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> </plugin> </plugins> diff --git a/sonar/pom.xml b/sonar/pom.xml index 5be832f140..a1a0da1201 100644 --- a/sonar/pom.xml +++ b/sonar/pom.xml @@ -106,7 +106,7 @@ <org.apache.poi.util.POILogger>org.apache.poi.util.NullLogger</org.apache.poi.util.POILogger> </systemPropertyVariables> <!-- 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> <exclude>**/All*Tests.java</exclude> <exclude>**/TestUnfixedBugs.java</exclude> @@ -121,6 +121,11 @@ <threadCount>10</threadCount--> </configuration> </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.7.8</version> + </plugin> </plugins> </build> @@ -151,7 +156,7 @@ </activation> <properties> <maven.compiler.maxmem>512m</maven.compiler.maxmem> - <argLine>-Xmx768m -XX:MaxPermSize=128m @{argLine}</argLine> + <argLine>-Xmx768m -XX:MaxPermSize=128m</argLine> </properties> </profile> @@ -165,7 +170,7 @@ </activation> <properties> <maven.compiler.maxmem>768m</maven.compiler.maxmem> - <argLine>-Xmx1024m -XX:MaxPermSize=256m @{argLine}</argLine> + <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> </properties> </profile> |