Package org.jacoco.maven
Class AgentITMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jacoco.maven.AbstractJacocoMojo
org.jacoco.maven.AbstractAgentMojo
org.jacoco.maven.AgentITMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="prepare-agent-integration",
defaultPhase=PRE_INTEGRATION_TEST,
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class AgentITMojo
extends AbstractAgentMojo
Same as
prepare-agent
, but provides default values suitable for
integration-tests:
- bound to
pre-integration-test
phase - different
destFile
- Since:
- 0.6.4
-
Field Summary
FieldsFields inherited from class org.jacoco.maven.AbstractAgentMojo
address, AGENT_ARTIFACT_NAME, append, classDumpDir, dumpOnExit, exclClassLoaders, inclBootstrapClasses, inclNoLocationClasses, jmx, output, pluginArtifactMap, port, propertyName, sessionId, SUREFIRE_ARG_LINE, TYCHO_ARG_LINE
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jacoco.maven.AbstractAgentMojo
createAgentOptions, executeMojo, getAgentJarFile, getEffectivePropertyName, isEclipseTestPluginPackaging, isPropertyNameSpecified, skipMojo
Methods inherited from class org.jacoco.maven.AbstractJacocoMojo
execute, getProject
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
destFile
@Parameter(property="jacoco.destFile", defaultValue="${project.build.directory}/jacoco-it.exec") private File destFilePath to the output file for execution data.
-
-
Constructor Details
-
AgentITMojo
public AgentITMojo()
-
-
Method Details
-
getDestFile
File getDestFile()- Specified by:
getDestFile
in classAbstractAgentMojo
- Returns:
- the destFile
-