From 39d77e849aac127cb9ccf428a0b4850c1f9b3502 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 26 Sep 2015 18:13:34 +0200 Subject: [PATCH] Add jacoco plugin for code coverage --- pom.xml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index b9d9dad0de..f3897f1baa 100644 --- a/pom.xml +++ b/pom.xml @@ -263,12 +263,15 @@ 2.13 3.5 1.7 + 0.7.5.201505241946 1.9.4 2.10.1 UTF-8 http://pmd.sourceforge.net/snapshot/${project.artifactId} + -Xmx512m -Dfile.encoding=${project.build.sourceEncoding} + ${basedir}/pmd-core ${config.basedir}/src/main/resources/rulesets/internal/dogfood.xml ${config.basedir}/etc/checkstyle-config.xml @@ -365,7 +368,6 @@ ${surefire.version} once - -Xmx512m -Dfile.encoding=${project.build.sourceEncoding} alphabetical @@ -479,6 +481,19 @@ + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + default-prepare-agent + + prepare-agent + + + + org.apache.maven.plugins maven-pmd-plugin @@ -562,7 +577,6 @@ - org.apache.maven.plugins maven-checkstyle-plugin @@ -612,6 +626,12 @@ ${surefire.version} + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + org.codehaus.mojo versions-maven-plugin