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

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

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