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

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

Go to download

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.Execute;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;

/**
 * 

This goal behaves exactly like the instrument goal, however when forking the lifecycle - it runs only to the 'test' * phase instead of all the way to the 'install' phase.

*

This goal should be used as an optimization - ie. if the phases after 'test' take a very long time to run.

*

Instrument all sources using Clover and forks a custom lifecycle to execute project's tests on the instrumented code * so that a Clover database is created.

*/ @Execute(phase = LifecyclePhase.TEST, goal = "instrument-test", lifecycle = "clover") @Mojo(name = "instrument-test") public class CloverInstrumentTestMojo extends CloverInstrumentMojo { /** * {@inheritDoc} * * @see com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo#execute() */ public void execute() throws MojoExecutionException { super.execute(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy