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

de.obqo.decycle.maven.DecycleCheckTestMojo Maven / Gradle / Ivy

The newest version!
package de.obqo.decycle.maven;

import de.obqo.decycle.check.Constraint;

import java.io.IOException;
import java.util.List;

import org.apache.maven.plugins.annotations.Execute;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;

/**
 * Maven goal for performing decycle checks on the compiled test classes of a project.
 * Intended to be used as a single goal 'mvn decycle:checkTest'.
 * More info: https://github.com/obecker/decycle
 */
@Mojo(name = "checkTest", threadSafe = true)
@Execute(phase = LifecyclePhase.TEST_COMPILE)
public class DecycleCheckTestMojo extends AbstractDecycleMojo {

    @Override
    protected List executeCheck() throws IOException {
        return checkTest();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy