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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy