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} +