Merge pull request #83 from kemitix/coveralls
coveralls-maven-plugin: added
This commit is contained in:
commit
075c56ba46
2 changed files with 27 additions and 0 deletions
20
README.md
20
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
|
||||
|
|
7
pom.xml
7
pom.xml
|
@ -71,6 +71,7 @@
|
|||
<versions.version>2.4</versions.version>
|
||||
<required-maven.version>3.0.4</required-maven.version>
|
||||
<maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
|
||||
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
|
||||
</properties>
|
||||
|
||||
<developers>
|
||||
|
@ -150,6 +151,12 @@
|
|||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>${maven-deploy-plugin.version}</version>
|
||||
</plugin><!-- maven deploy-plugin -->
|
||||
|
||||
<plugin>
|
||||
<groupId>org.eluder.coveralls</groupId>
|
||||
<artifactId>coveralls-maven-plugin</artifactId>
|
||||
<version>${coveralls-maven-plugin.version}</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile><!-- release -->
|
||||
|
|
Loading…
Reference in a new issue