com.atlassian.maven.plugin.clover.CloverInstrumentTestMojo 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;
/**
* 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.
*
* @goal instrument-test
* @execute phase="test" lifecycle="clover"
*/
public class CloverInstrumentTestMojo extends CloverInstrumentMojo {
/**
* {@inheritDoc}
*
* @see com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo#execute()
*/
public void execute() throws MojoExecutionException {
super.execute();
}
}