com.jjlharrison.coverage.changes.AbstractChangeCoverageMojo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coverage-maven-plugin Show documentation
Show all versions of coverage-maven-plugin Show documentation
Maven plugin to check test coverage of new changes compared to another Git branch.
The newest version!
package com.jjlharrison.coverage.changes;
import java.io.File;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugins.annotations.Parameter;
/**
* Abstract class for change coverage MOJOs.
*/
public abstract class AbstractChangeCoverageMojo extends AbstractMojo
{
/** The JaCoCo XML report file. */
@Parameter(defaultValue = "${project.reporting.outputDirectory}/change-coverage/report.xml", required = true)
private File xmlReportFile;
/**
* Returns the JaCoCo XML report file.
*
* @return the JaCoCo XML report file.
*/
protected File getXmlReportFile()
{
return xmlReportFile;
}
}