@Mojo(name="instrument-test",
defaultPhase=PROCESS_TEST_CLASSES,
requiresProject=false,
threadSafe=true,
executionStrategy="always",
requiresDirectInvocation=false,
requiresDependencyResolution=TEST)
@Execute(goal="instrument-test",
phase=PROCESS_TEST_CLASSES)
public class TestInstrumentMojo
extends AbstractInstrumentMojo
classesDirectory, project| Constructor and Description |
|---|
TestInstrumentMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassLoader |
createClassLoader() |
void |
execute() |
protected File |
getInstrumentDirectory() |
protected String |
getType() |
doExecute, fileNameToURLpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected File getInstrumentDirectory()
getInstrumentDirectory in class AbstractInstrumentMojoprotected String getType()
getType in class AbstractInstrumentMojoprotected ClassLoader createClassLoader()
createClassLoader in class AbstractInstrumentMojoCopyright © 2016. All rights reserved.