org.jacoco.maven
Class MergeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jacoco.maven.AbstractJacocoMojo
          extended by org.jacoco.maven.MergeMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="merge",
      defaultPhase=GENERATE_RESOURCES,
      threadSafe=true)
public class MergeMojo
extends AbstractJacocoMojo

Mojo for merging a set of execution data files (*.exec) into a single file

Since:
0.6.4

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MergeMojo()
           
 
Method Summary
protected  void executeMojo()
          Executes Mojo.
 
Methods inherited from class org.jacoco.maven.AbstractJacocoMojo
execute, getProject, skipMojo
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeMojo

public MergeMojo()
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 class AbstractJacocoMojo
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.


Copyright © 2009–2020 Mountainminds GmbH & Co. KG. All rights reserved.