Repository: logging-log4j2 Updated Branches: refs/heads/master 71201b40a -> 893654214
Switch code coverage to Jacoco because Cobertura blows up for me with an exception. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/89365421 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/89365421 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/89365421 Branch: refs/heads/master Commit: 8936542143984212c2593e2ed0a132eff0202622 Parents: 71201b4 Author: Gary Gregory <[email protected]> Authored: Sun Nov 13 16:48:47 2016 -0800 Committer: Gary Gregory <[email protected]> Committed: Sun Nov 13 16:48:47 2016 -0800 ---------------------------------------------------------------------- .travis.yaml | 2 +- pom.xml | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/89365421/.travis.yaml ---------------------------------------------------------------------- diff --git a/.travis.yaml b/.travis.yaml index 742b87c..a69a7bc 100644 --- a/.travis.yaml +++ b/.travis.yaml @@ -18,4 +18,4 @@ jdk: - oraclejdk7 after_success: - - mvn clean cobertura:cobertura coveralls:report + - mvn clean test jacoco:report coveralls:report http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/89365421/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 7192054..a04ed07 100644 --- a/pom.xml +++ b/pom.xml @@ -208,6 +208,7 @@ <rat.plugin.version>0.12</rat.plugin.version> <pdf.plugin.version>1.2</pdf.plugin.version> <cobertura.plugin.version>2.7</cobertura.plugin.version> + <jacoco.plugin.version>0.7.7.201606060606</jacoco.plugin.version> <release.plugin.version>2.5.3</release.plugin.version> <scm.plugin.version>1.9.5</scm.plugin.version> <jxr.plugin.version>2.5</jxr.plugin.version> @@ -1072,7 +1073,19 @@ </execution> </executions> </plugin> --> - + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>${jacoco.plugin.version}</version> + <executions> + <execution> + <id>prepare-agent</id> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + </executions> + </plugin> <!-- We need to disable the standard ASF configuration to be able to publish our own notice and license files --> <plugin> <groupId>org.apache.maven.plugins</groupId>
