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