coveralls-maven-plugin: added
This commit is contained in:
parent
7e39cbb3ae
commit
1401f661fa
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
|
* jacoco-class-missed-count-maximum
|
||||||
* java.version
|
* java.version
|
||||||
* versions.version
|
* versions.version
|
||||||
|
* coveralls-maven-plugin.version
|
||||||
|
|
||||||
## Checkstyle
|
## 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.
|
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
|
# Distribution Management
|
||||||
|
|
||||||
Remote repositories are provided for the Sonatype Nexus Snapshots and Nexus Release
|
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>
|
<versions.version>2.4</versions.version>
|
||||||
<required-maven.version>3.0.4</required-maven.version>
|
<required-maven.version>3.0.4</required-maven.version>
|
||||||
<maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
|
<maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
|
||||||
|
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
|
@ -150,6 +151,12 @@
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
<version>${maven-deploy-plugin.version}</version>
|
<version>${maven-deploy-plugin.version}</version>
|
||||||
</plugin><!-- maven deploy-plugin -->
|
</plugin><!-- maven deploy-plugin -->
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eluder.coveralls</groupId>
|
||||||
|
<artifactId>coveralls-maven-plugin</artifactId>
|
||||||
|
<version>${coveralls-maven-plugin.version}</version>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile><!-- release -->
|
</profile><!-- release -->
|
||||||
|
|
Loading…
Reference in a new issue