From 1401f661fa889c8becef725cc7d1d13a2311ce08 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 21 Jul 2017 11:20:05 +0100 Subject: [PATCH] coveralls-maven-plugin: added --- README.md | 20 ++++++++++++++++++++ pom.xml | 7 +++++++ 2 files changed, 27 insertions(+) diff --git a/README.md b/README.md index acfd728..ec759b7 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ desired value. * jacoco-class-missed-count-maximum * java.version * versions.version +* coveralls-maven-plugin.version ## Checkstyle @@ -264,6 +265,25 @@ The plugin will generate the `target/digraph.dot` file during the `validate` pha Set the `digraph-dependency.basePackage` property to the root package to graph. +## Coveralls + +The [Coveralls Maven Plugin](https://github.com/trautonen/coveralls-maven-plugin) +publishes coverage data to coveralls.io. + +### Configuration + +The plugin is not configured to run automatically. It must be initiated manually: + +```shell +mvn -P release test jacoco:report coveralls:report +``` + +#### Requirements + +In order to use the plugin: + +* *must* enable the `release` profile + # Distribution Management Remote repositories are provided for the Sonatype Nexus Snapshots and Nexus Release diff --git a/pom.xml b/pom.xml index 0be7f4a..136eabb 100644 --- a/pom.xml +++ b/pom.xml @@ -71,6 +71,7 @@ 2.4 3.0.4 1.4.1 + 4.3.0 @@ -150,6 +151,12 @@ maven-deploy-plugin ${maven-deploy-plugin.version} + + + org.eluder.coveralls + coveralls-maven-plugin + ${coveralls-maven-plugin.version} +