From: Martin Stockhammer Date: Tue, 13 Jun 2017 20:48:31 +0000 (+0200) Subject: [MRM-1953] Upgrading and fixing jacoco configuration X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6ff4d94f6c462d7ebf84b49f6ebb3a7d931285c9;p=archiva.git [MRM-1953] Upgrading and fixing jacoco configuration --- 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 d6b1c98c1..2c471a551 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 @@ -455,7 +455,7 @@ **/*Tests.java **/*Test.java - -Xmx512m -Xms512m -server -XX:MaxPermSize=256m ${jacocoagent} + -Xmx512m -Xms512m -server -XX:MaxPermSize=256m @{jacocoproperty} ${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 c14197124..90d245e5a 100644 --- a/archiva-modules/archiva-web/archiva-web-common/pom.xml +++ b/archiva-modules/archiva-web/archiva-web-common/pom.xml @@ -509,7 +509,7 @@ org.apache.maven.plugins maven-surefire-plugin - -Xmx1024m -Xms512m -XX:MaxPermSize=256m ${jacocoagent} + -Xmx1024m -Xms512m -XX:MaxPermSize=256m @{jacocoproperty} ${project.build.directory}/appserver-base ${project.build.directory}/appserver-base @@ -527,6 +527,17 @@ + + + org.jacoco + jacoco-maven-plugin + + + **/*org/apache/archiva/web/model/* + **/archiva-web-common-json-client.jar* + + + diff --git a/archiva-modules/archiva-web/archiva-webdav/pom.xml b/archiva-modules/archiva-web/archiva-webdav/pom.xml index a277f1163..5d5966448 100644 --- a/archiva-modules/archiva-web/archiva-webdav/pom.xml +++ b/archiva-modules/archiva-web/archiva-webdav/pom.xml @@ -320,7 +320,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${webdav.argLine} ${jacocoagent} + ${webdav.argLine} @{jacocoproperty} ${project.build.directory}/appserver-base ${project.build.directory}/appserver-base diff --git a/pom.xml b/pom.xml index 408846e74..4e618883d 100644 --- a/pom.xml +++ b/pom.xml @@ -75,7 +75,6 @@ 2.0 UTF-8 true - 3.6.2 2.14.1 @@ -106,6 +105,9 @@ 1.9.5 DefaultLevel=INFO,Runtime=ERROR,Tool=ERROR,SQL=ERROR,Schema=ERROR,MetaData=ERROR + + + 0.7.9 @@ -1778,7 +1780,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${jacocoagent} + @{jacocoproperty} ${surefire.redirectTestOutputToFile} alphabetical @@ -1876,7 +1878,7 @@ org.jacoco jacoco-maven-plugin - 0.7.2.201409121644 + ${jacoco.plugin.version} @@ -1897,9 +1899,6 @@ - - ${jacocoproperty} - modernizer