From: Eric Barboni Date: Tue, 30 Sep 2014 21:05:24 +0000 (+0200) Subject: add a profile for coverage (jacoco-coverage) X-Git-Tag: archiva-2.2.0~96 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e4a7f04a359979a69e36dc2f9199ea4d1a01b6ba;p=archiva.git add a profile for coverage (jacoco-coverage) --- diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml index 1b6bfa2c6..37d9c39d7 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml @@ -443,7 +443,7 @@ org.apache.maven.plugins maven-surefire-plugin - -Xmx512m -Xms512m -server -XX:MaxPermSize=256m + -Xmx512m -Xms512m -server -XX:MaxPermSize=256m ${jacocoagent} ${project.build.directory}/appserver-base ${project.build.directory}/appserver-base diff --git a/archiva-modules/archiva-web/archiva-web-common/pom.xml b/archiva-modules/archiva-web/archiva-web-common/pom.xml index 7ef97ce47..755afe035 100644 --- a/archiva-modules/archiva-web/archiva-web-common/pom.xml +++ b/archiva-modules/archiva-web/archiva-web-common/pom.xml @@ -513,7 +513,7 @@ org.apache.maven.plugins maven-surefire-plugin - -Xmx1024m -Xms512m -XX:MaxPermSize=256m + -Xmx1024m -Xms512m -XX:MaxPermSize=256m ${jacocoagent} ${project.build.directory}/appserver-base ${project.build.directory}/appserver-base diff --git a/archiva-modules/archiva-web/archiva-webdav/pom.xml b/archiva-modules/archiva-web/archiva-webdav/pom.xml index 1ca2e0e2e..39422f283 100644 --- a/archiva-modules/archiva-web/archiva-webdav/pom.xml +++ b/archiva-modules/archiva-web/archiva-webdav/pom.xml @@ -299,7 +299,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${webdav.argLine} + ${webdav.argLine} ${jacocoagent} ${project.build.directory}/appserver-base ${project.build.directory}/appserver-base diff --git a/pom.xml b/pom.xml index f61f0c186..a4fa3b7b8 100644 --- a/pom.xml +++ b/pom.xml @@ -80,7 +80,7 @@ 2.0 UTF-8 true - + 3.6.2 2.8.0 @@ -1837,6 +1837,7 @@ org.apache.maven.plugins maven-surefire-plugin + ${jacocoagent} ${surefire.redirectTestOutputToFile} alphabetical @@ -1919,7 +1920,41 @@ archiva-modules/archiva-web/archiva-webapp-test - + + jacoco-coverage + + false + + + + + org.jacoco + jacoco-maven-plugin + 0.7.2.201409121644 + + + + prepare-agent + + + jacocoproperty + + + + report + prepare-package + + report + + + + + + + + ${jacocoproperty} + +