JaCoCo report changes Maven plugin

This is an Apache Maven Plugin which allows the generation of coverage reports for your changed classes.

License

License

Categories

Categories

Maven Build Tools JaCoCo Application Testing & Monitoring Code Coverage
GroupId

GroupId

de.ck35.maven.plugins
ArtifactId

ArtifactId

jacoco-report-changes
Last Version

Last Version

0.7.5
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

JaCoCo report changes Maven plugin
This is an Apache Maven Plugin which allows the generation of coverage reports for your changed classes.
Project URL

Project URL

https://github.com/CK35/jacoco-report-changes
Source Code Management

Source Code Management

https://github.com/CK35/jacoco-report-changes

Download jacoco-report-changes

How to add to project

<plugin>
    <groupId>de.ck35.maven.plugins</groupId>
    <artifactId>jacoco-report-changes</artifactId>
    <version>0.7.5</version>
</plugin>

Dependencies

compile (5)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 2.2.1
org.apache.maven : maven-project jar 2.2.1
org.apache.maven.reporting : maven-reporting-api jar 2.2.1
org.jacoco : jacoco-maven-plugin jar 0.7.5.201505241946
org.apache.maven.doxia : doxia-site-renderer jar 1.1.2

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-all jar 1.10.19

Project Modules

There are no modules declared in this project.

jacoco-report-changes

Build Status Coverage Status Maven Central

This is an Apache Maven Plugin which allows the generation of coverage reports for your changed classes. This makes sense when you are working with feature branches and you need the coverage of only the changed classes. The reports are generated by the JaCoCo Maven Plugin internally.

Currently this plugin only works in conjunction with Git.

#####Configuring Your jacoco-report-changes Plugin:


<plugin>
    <groupId>de.ck35.maven.plugins</groupId>
    <artifactId>jacoco-report-changes</artifactId>
    <version>0.7.5</version>
        <executions>
            <execution>
                <phase>verify</phase>
                <id>report-changes</id>
                <goals>
                    <goal>report-changes</goal>
                </goals>
        </execution>
    </executions>
</plugin>

#####Optional Parameters:

Name Description
branchName The name of the branch used for git diff.
skipGenerationWhenNoChangesFound Determine if coverage report should be generated or not. If set to true and no changes were found (maybe because of an error) no report will be generated.

All other parameters from JaCoCo Plugin can also be used.

Versions

Version
0.7.5
0.7.4.2
0.7.4.1