com.atlassian.maven.plugin.clover.CloverResetMojo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-clover2-plugin Show documentation
Show all versions of maven-clover2-plugin Show documentation
Maven plugin for Clover.
MIGRATION NOTICE: Since next major Clover release this plugin will be renamed to
com.atlassian.maven.plugins:clover-maven-plugin. Thus, goals will also be renamed, e.g.
'clover2:setup' will become 'clover:setup'.
The newest version!
package com.atlassian.maven.plugin.clover;
import org.apache.maven.plugin.MojoExecutionException;
/**
*
* @goal reset
*/
public class CloverResetMojo extends CloverInstrumentInternalMojo {
public void execute() throws MojoExecutionException {
getLog().info("Resetting directories for artifact: " + getProject().getId());
CloverInstrumentInternalMojo.resetSrcDirsOriginal(getProject().getArtifact(), this);
}
}