Package org.jacoco.maven
Class RestoreMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.jacoco.maven.AbstractJacocoMojo
-
- org.jacoco.maven.RestoreMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="restore-instrumented-classes", defaultPhase=PREPARE_PACKAGE, threadSafe=true) public class RestoreMojo extends AbstractJacocoMojo
Restores original classes as they were before offline instrumentation.- Since:
- 0.6.2
-
-
Constructor Summary
Constructors Constructor Description RestoreMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
executeMojo()
Executes Mojo.-
Methods inherited from class org.jacoco.maven.AbstractJacocoMojo
execute, getProject, skipMojo
-
-
-
-
Method Detail
-
executeMojo
protected void executeMojo() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
Description copied from class:AbstractJacocoMojo
Executes Mojo.- Specified by:
executeMojo
in classAbstractJacocoMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
- if an unexpected problem occurs. Throwing this exception causes a "BUILD ERROR" message to be displayed.org.apache.maven.plugin.MojoFailureException
- if an expected problem (such as a compilation failure) occurs. Throwing this exception causes a "BUILD FAILURE" message to be displayed.
-
-