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 asprepare-agent
, but provides default values suitable for integration-tests:- bound to
pre-integration-test
phase - different
destFile
- Since:
- 0.6.4
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
destFile
Path to the output file for execution data.-
Fields 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
-
-
Constructor Summary
Constructors Constructor Description AgentITMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.io.File
getDestFile()
-
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
-
-
-
-
Method Detail
-
getDestFile
java.io.File getDestFile()
- Specified by:
getDestFile
in classAbstractAgentMojo
- Returns:
- the destFile
-
-