aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2017-06-13 22:48:31 +0200
committerMartin Stockhammer <martin_s@apache.org>2017-06-13 22:48:31 +0200
commit6ff4d94f6c462d7ebf84b49f6ebb3a7d931285c9 (patch)
treef29b7316d919db92ce4d7cc7bf62c75435a90c26 /pom.xml
parentebd78d8b173569eecb4f995ce954fed36c233a8a (diff)
downloadarchiva-6ff4d94f6c462d7ebf84b49f6ebb3a7d931285c9.tar.gz
archiva-6ff4d94f6c462d7ebf84b49f6ebb3a7d931285c9.zip
[MRM-1953] Upgrading and fixing jacoco configuration
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/pom.xml b/pom.xml
index 408846e74..4e618883d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,7 +75,6 @@
<javax.jcr.version>2.0</javax.jcr.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
- <jacocoagent />
<lucene.version>3.6.2</lucene.version>
<jackrabbit.version>2.14.1</jackrabbit.version>
@@ -106,6 +105,9 @@
<mockito.version>1.9.5</mockito.version>
<openjpa.Log>DefaultLevel=INFO,Runtime=ERROR,Tool=ERROR,SQL=ERROR,Schema=ERROR,MetaData=ERROR</openjpa.Log>
+
+ <jacocoproperty/>
+ <jacoco.plugin.version>0.7.9</jacoco.plugin.version>
</properties>
<dependencyManagement>
@@ -1778,7 +1780,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>${jacocoagent}</argLine>
+ <argLine>@{jacocoproperty}</argLine>
<redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
<runOrder>alphabetical</runOrder>
<systemPropertyVariables>
@@ -1876,7 +1878,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <version>0.7.2.201409121644</version>
+ <version>${jacoco.plugin.version}</version>
<executions>
<execution>
<goals>
@@ -1897,9 +1899,6 @@
</plugin>
</plugins>
</build>
- <properties>
- <jacocoagent>${jacocoproperty}</jacocoagent>
- </properties>
</profile>
<profile>
<id>modernizer</id>