All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.maven.plugin.clover.CloverResetMojo Maven / Gradle / Ivy

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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy