diff --git a/log4j-api-test/pom.xml b/log4j-api-test/pom.xml index 0ef2578dd8f..2e1f8df4764 100644 --- a/log4j-api-test/pom.xml +++ b/log4j-api-test/pom.xml @@ -164,6 +164,24 @@ + + org.jacoco + jacoco-maven-plugin + + + report-test-coverage + none + + + report-aggregate-test-coverage + + report-aggregate + + verify + + + + org.apache.maven.plugins maven-surefire-plugin diff --git a/log4j-core-test/pom.xml b/log4j-core-test/pom.xml index 1155ed9989b..11e54ff84fd 100644 --- a/log4j-core-test/pom.xml +++ b/log4j-core-test/pom.xml @@ -351,6 +351,24 @@ + + org.jacoco + jacoco-maven-plugin + + + report-test-coverage + none + + + report-aggregate-test-coverage + + report-aggregate + + verify + + + + org.apache.maven.plugins diff --git a/log4j-layout-template-json-test/pom.xml b/log4j-layout-template-json-test/pom.xml index 30b1dac1f84..5629d570ce5 100644 --- a/log4j-layout-template-json-test/pom.xml +++ b/log4j-layout-template-json-test/pom.xml @@ -126,6 +126,24 @@ + + org.jacoco + jacoco-maven-plugin + + + report-test-coverage + none + + + report-aggregate-test-coverage + + report-aggregate + + verify + + + + org.apache.maven.plugins diff --git a/log4j-osgi-test/pom.xml b/log4j-osgi-test/pom.xml index 7f8b52961e9..9d08904ae36 100644 --- a/log4j-osgi-test/pom.xml +++ b/log4j-osgi-test/pom.xml @@ -180,6 +180,24 @@ + + org.jacoco + jacoco-maven-plugin + + + report-test-coverage + none + + + report-aggregate-test-coverage + + report-aggregate + + verify + + + + org.apache.maven.plugins maven-compiler-plugin diff --git a/pom.xml b/pom.xml index 1f1c3abb3e1..e27325e3b9d 100644 --- a/pom.xml +++ b/pom.xml @@ -553,6 +553,12 @@ org.jacoco jacoco-maven-plugin + + + org/apache/log4j/** + org/apache/logging/log4j/** + + prepare-jacoco-agent