@Mojo(name="transform-test", defaultPhase=PROCESS_TEST_CLASSES, threadSafe=true, requiresDependencyResolution=TEST) public static class ByteBuddyMojo.ForTestTypes extends ByteBuddyMojo
ByteBuddyMojo.ForProductionTypes, ByteBuddyMojo.ForTestTypes
Modifier and Type | Field and Description |
---|---|
protected List<String> |
testClasspathElements
The test class path.
|
protected String |
testOutputDirectory
The current build's test output directory.
|
artifactId, failFast, failOnLiveInitializer, groupId, initialization, remoteRepositories, repositorySystem, repositorySystemSession, skip, suffix, transformations, version, warnOnMissingOutputDirectory
Constructor and Description |
---|
ForTestTypes() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getClassPathElements()
Returns the class path elements of the relevant output directory.
|
protected String |
getOutputDirectory()
Returns the output directory to search for class files.
|
execute
@Parameter(defaultValue="${project.build.testOutputDirectory}", required=true, readonly=true) protected String testOutputDirectory
protected String getOutputDirectory()
ByteBuddyMojo
getOutputDirectory
in class ByteBuddyMojo
protected List<String> getClassPathElements()
ByteBuddyMojo
getClassPathElements
in class ByteBuddyMojo
Copyright © 2014–2017. All rights reserved.