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 clover-maven-plugin Show documentation
Show all versions of clover-maven-plugin Show documentation
Maven plugin for Clover.
MIGRATION NOTICE: Since Clover 4.1.0 this plugin is named com.atlassian.maven.plugins:clover-maven-plugin.
In previous versions it was named com.atlassian.maven.plugins:maven-clover2-plugin.
The newest version!
package com.atlassian.maven.plugin.clover;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugins.annotations.Mojo;
/**
* Reset source directories to original ones.
*/
@Mojo(name = "reset")
public class CloverResetMojo extends CloverInstrumentInternalMojo {
public void execute() throws MojoExecutionException {
getLog().info("Resetting directories for artifact: " + getProject().getId());
CloverInstrumentInternalMojo.resetSrcDirsOriginal(getProject().getArtifact(), this);
}
}